Pierre de La Morinerie
21efece09e
ci: use builtin cache for node modules
...
This is around 20s faster (10s when retrieved the cache and installing
node modules, and 10s when saving the cache).
2021-11-09 08:32:31 +01:00
Pierre de La Morinerie
9fd38cae5e
specs: migrate from features to system specs
...
System specs have been available since Rails 5.1, and are better
integrated with the Rails framework.
- Rename `spec/features` to `spec/system`
- Rename `feature do` to `describe do`
- Configure Capybara for system specs
Steps mostly taken from https://medium.com/table-xi/a-quick-guide-to-rails-system-tests-in-rspec-b6e9e8a8b5f6
2021-10-26 12:24:46 +02:00
Pierre de La Morinerie
910c7303d8
ci: use --frozen-lockfile
instead of --pure-lockfile
...
Unlike `--pure-lockfile`, `--frozen-lockfile` will fail if the lockfile
needs to be updated.
2021-09-30 17:05:26 +02:00
Pierre de La Morinerie
ed4e065bc1
ci: update the 'rebase' github action
...
This fixes a bug where rebasing wouldn't trigger branch checks again.
2021-06-22 08:33:15 +02:00
Pierre de La Morinerie
c96a2550d8
ci: check for zeitwerk errors
...
If a zeitwerk-incompatible class is introduced, it won't break
any test before reaching production.
2021-04-15 13:17:46 +02:00
Pierre de La Morinerie
1a35ba1906
ci: use the tag (2021-09-12) for Sentry releases
...
Previously the commit sha1 was used, which was harder to read.
2021-03-25 14:47:46 +01:00
Pierre de La Morinerie
3304cb3d43
ci: split controller tests into 3 groups
...
Ideally we'd like:
- One group with `spec/controllers/api/**/*_spec.rb` files
- One group with everything else
But due to the way globbing works (and doesn't allow to say "Files NOT
starting with `api`"), this looks like a sensible and future-proof
configuration.
2021-02-24 16:27:55 +01:00
Paul Chavard
a03d812d19
Add github actions CI
2021-02-23 10:35:30 +01:00
Pierre de La Morinerie
485c496b76
ci: update Github Action used to publish Sentry versions
...
Attempts to fix the Sentry action failing after a deploy.
2021-02-11 16:07:17 +00:00
Pierre de La Morinerie
653d7d51bb
ci: add workflow to publish releases to Sentry
...
See https://blog.sentry.io/2020/07/30/automate-release-management-with-the-sentry-release-github-action
2020-08-27 17:51:17 +02:00
Pierre de La Morinerie
44765e362b
github: fix trailing whitespace
2020-05-28 13:53:01 +00:00
Pierre de La Morinerie
cfb66490d3
github: update rebase action
...
Update from 1.2 to 1.3.1:
- Allows to rebase PRs on forks (as long as the submitter checked "allow edits from maintainers").
- Less workarounds
2020-05-28 13:53:01 +00:00
Pierre de La Morinerie
4eb7d854a9
workflows: fix trailing whitespace
2020-01-28 15:48:02 +01:00
Pierre de La Morinerie
f7128e81da
workflows: update auto-rebase bot
...
Update to latest version of the auto-rebase bot
2020-01-28 15:38:32 +01:00
Pierre de La Morinerie
ff3f4774e8
Add a Github Actions workflow for automatic rebase
...
Add /rebase to a comment to trigger an automatic rebase.
2019-11-21 14:51:52 +01:00