Colin Darie
3cf79fd170
ci: block fixup commit merge
2024-03-27 17:25:52 +01:00
Paul Chavard
55bc35659e
chore(ci): use github runners
2024-03-18 11:34:56 +01:00
kleph
d7ead10c34
chores(ci): update apt repos before installing packages
2024-01-30 14:11:49 +01:00
Colin Darie
56f8b61866
feat(dossiers): lock submit en construction to avoid merge collisions with double submits
2024-01-24 10:58:40 +01:00
Colin Darie
18c901a450
ci: build ruby with yjit support
2024-01-11 13:46:04 +01:00
Colin Darie
84506a2ab1
chore: try ruby 3.3.0
2024-01-11 13:45:58 +01:00
Colin Darie
e60a5f5123
ci: fail when someones forget to commit it's schema.rb with a new migration
2023-11-20 11:22:27 +01:00
kleph
dd15479847
tune(ci): use self hosted runners only for system tests
2023-09-19 21:42:51 +02:00
kleph
09d7f0b91a
Merge branch 'demarches-simplifiees:main' into poc-self_hosted_runners
2023-09-13 14:15:38 +02:00
Colin Darie
6520ea027c
ci: install a font for watermarks
2023-09-12 13:04:32 +02:00
kleph
68328ce038
[ci][self] test workaround to install yarn at runtime
2023-07-26 16:06:04 +02:00
Paul Chavard
1e8a98329e
chore(ci): add postgis to ci
2023-07-18 18:01:29 +02:00
Paul Chavard
d42e2fbd54
chore(github): remove unused actions
2023-05-16 17:46:46 +02:00
Colin Darie
283804ec74
ci: enable merge queue (merge group)
2023-02-22 14:28:44 +01:00
Colin Darie
cfeeb3f3ba
ci: tests against postgresql 14
2022-10-20 17:09:03 +02:00
Paul Chavard
ddb230899c
chore(actions): update github actions
2022-10-20 11:55:10 +02:00
Paul Chavard
2c3503d7d0
test(js): add vitest
2022-07-05 13:38:00 +02:00
Paul Chavard
ea18c2b9ba
chore(build): use vitejs
2022-06-23 15:22:54 +02:00
Paul Chavard
4968a3f50d
fix(ga): include patches hash in github actions
2022-05-10 16:02:05 +02:00
LeSim
97b90bb478
try codeql analysis
2022-05-06 11:50:32 +02:00
Martin
3e1bba7561
doc(ux): clarifie le process pour l'ux research
2022-04-22 05:13:23 +02:00
Paul Chavard
44c64669e9
Revert "Merge pull request #6787 from tchak/use-vite"
...
This reverts commit 5d572727b5
, reversing
changes made to 43be4482ee
.
2022-03-31 12:07:52 +02:00
Paul Chavard
187e84a010
feat(assets): use vitejs to build javascript
2022-03-29 16:27:08 +02:00
Paul Chavard
9bd0373aaa
chore(node): add .node-version file
2022-02-24 08:48:27 +00:00
Pierre de La Morinerie
75e207122b
ci: use previous test timings to split the tests
2021-11-09 08:32:31 +01:00
Pierre de La Morinerie
184bf38bb2
ci: split actions into several sub-actions
2021-11-09 08:32:31 +01:00
Pierre de La Morinerie
641f0df712
ci: avoid installing node modules again
...
By default `bin/rails assets:precompile` will run `yarn install` again.
The suggested workaround is to remove `bin/yarn` before running the
task.
See https://github.com/rails/webpacker/issues/405
2021-11-09 08:32:31 +01:00
Pierre de La Morinerie
d0a6fc4b8e
ci: precompile (and cache) assets
...
This avoids the assets to be compiled lazily during the first spec,
which confuses test metrics.
2021-11-09 08:32:31 +01:00
Pierre de La Morinerie
2c96ade1b2
ci: split tests automatically
2021-11-09 08:32:31 +01:00
Pierre de La Morinerie
ba78e2bfb2
ci: use bin/rails instead of rake
2021-11-09 08:32:31 +01:00
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
clemkeirua
5fd41bbfd9
disable dependabot
2020-09-29 16:27:40 +02:00
Keirua
f44ebf4cbc
Create dependabot.yml
2020-09-24 15:02:15 +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
ad1907a0fe
github: redirect suggestions to the feature upvote board
2020-02-17 10:56:22 +01: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
Pierre de La Morinerie
cfa42343bc
Ajout de template d'issues
...
Les templates d'issues sont affichés lorsque on clique sur le bouton "New issue" dans GitHub.
Deux objectifs :
- **Améliorer nos rapports de bugs interne** : nous encourager à décrire le problème des utilisateurs (plutôt que juste la solution proposée).
- **Améliorer les issues des contributeurs externes** : encourager les contributeurs à créer des issues claires (plutôt que des tableaux Excels imbitables).
2019-10-07 17:33:36 +02:00