wotnak
c82787d432
Remove unnecessary 'Checkout the repository' step from 'Run PHP Codesniffer and PHPStan' job
2023-12-31 11:44:33 +01:00
wotnak
5a5bcb3b0b
Persist phpstan result cache between workflow runs
2023-12-31 11:44:27 +01:00
wotnak
a970b5b56a
Use phpcs results cache and persist it between workflow runs
2023-12-31 09:25:12 +01:00
wotnak
76aeedc3b1
Combine PHP compatibility checks of contrib modules and themes into single phpcs run
2023-12-28 19:27:15 +01:00
wotnak
dfc25b5865
Run phpcs checks in parallel
2023-12-28 19:26:41 +01:00
Michael Stenta
9d8dc8dd1f
Only create releases on tag pushes to the official repository.
2023-11-27 13:40:49 -05:00
Michael Stenta
6a9c872e9b
Use phpunit instead of paratest.
...
PostgreSQL tests fail because Drupal core patch is trying to install pg_trgm
extension in parallel multiple times.
Failed to run installer database tasks: Drupal could not check for the pg_trgm extension: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "pg_extension_name_index"
DETAIL: Key (extname)=(pg_trgm) already exists.: CREATE EXTENSION IF NOT EXISTS pg_trgm;
2023-10-30 12:07:29 -04:00
Michael Stenta
50803a5c83
Run PHPCompatibility sniff for PHP 8.2+.
2023-10-30 12:07:29 -04:00
Michael Stenta
e417ee9ad6
Change all references of 2.x to 3.x in code, docs, and workflows.
2023-10-27 09:25:10 -04:00
Michael Stenta
d54ea7309c
Fix deliver.yml (broken by #732 )
2023-10-09 14:33:47 -04:00
Michael Stenta
14852bf32a
Use farmOS-microblog create-message workflow to announce new versions #732
2023-10-09 14:08:53 -04:00
Michael Stenta
27eafb59b9
Fix PHPStan running out of memory during delivery workflow #726
2023-10-09 13:42:21 -04:00
Michael Stenta
21d2d2a6e4
Replace all usages of docker-compose with docker compose.
2023-03-30 09:43:07 -04:00
Paul Weidner
c15b0a68b6
Update softprops/action-gh-release to 1.15
2023-03-16 08:20:30 -07:00
Michael Stenta
f7728db5ff
Update dangoslen/changelog-enforcer to v3.
2022-12-16 08:14:13 -05:00
Paul Weidner
6a6b7a55c3
Shorten name of tests and delivery workflow #617
...
This makes it easier to read the results of individual jobs in this workflow.
2022-12-06 14:35:52 -05:00
Michael Stenta
12e458f8fe
Use paratest -vv parameter instead of --verbose=1
...
See https://github.com/paratestphp/paratest/issues/633
2022-11-28 08:50:29 -05:00
Michael Stenta
aa78bb096d
Update docker/login-action to v2.
2022-11-26 09:02:48 -05:00
Michael Stenta
9a968c5a2d
Announce new releases on Mastodon/Twitter via farmOS-microblog #599
2022-11-20 12:30:29 -05:00
Michael Stenta
d30502e988
Issue #3203129 : Use GitHub Actions to build Docker Hub images
2022-11-20 09:42:08 -05:00
Michael Stenta
1803776b53
Check PHP compatibility of contrib modules and themes in delivery workflow.
2022-11-12 15:13:02 -05:00
Michael Stenta
8c67afa431
Update to GitHub actions/checkout@v3.
...
Fixes the following warning in GitHub Actions runs:
Node.js 12 actions are deprecated. For more information see:
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/ .
Please update the following actions to use Node.js 16:
actions/checkout, actions/checkout
2022-10-12 07:24:36 -04:00
Michael Stenta
059e058b6c
Run PHPStan after Codesniffer in GitHub Actions test and delivery workflow.
2022-09-12 19:38:25 -04:00
Michael Stenta
65ace22777
Fix scheduled test runs fail after #523 was merged #524
2022-04-18 15:45:31 -04:00
Michael Stenta
9c06c888cc
Merge run-tests.yml and package-release.yml into deliver.yml.
2022-04-08 10:43:20 -04:00
Michael Stenta
7eee70123d
Refactor FARMOS_VERSION and FARMOS_REPO environment variable logic.
...
Use github.event_name for conditional logic.
Set a default FARMOS_REPO that is only overridden on pull request events.
Remove ${{ }} wrapper from if condition logic.
2022-04-08 10:29:02 -04:00
Michael Stenta
3a23063e28
Fail all jobs if any matrix jobs fail.
2022-04-08 10:29:02 -04:00
Michael Stenta
91e2a7364d
Cache farmos/farmos:2.x image for subsequent jobs.
2022-04-08 10:29:02 -04:00
Michael Stenta
1c2347908f
Use actions/cache instead of uploading/downloading artifacts.
...
This speeds things up considerably!
2022-04-08 08:34:16 -04:00
Michael Stenta
4dea771329
Only upload the farmos/farmos:2.x-dev image to artifacts.
2022-04-07 20:36:12 -04:00
Michael Stenta
a8bf2ed393
Run PHP Codesniffer in a separate job so that it doesn't block tests from running.
2022-04-07 20:36:12 -04:00
Michael Stenta
af820bd086
Build Docker images in a separate job before running test matrix.
2022-04-07 20:36:12 -04:00
Michael Stenta
e834a8c84e
Publish GitHub releases (draft: false) and reformat release body.
2022-01-19 16:02:54 -05:00
Michael Stenta
774bfce0a4
Issue #3241653 : Run SQLite3 tests in sequence instead of in parallel.
2022-01-11 15:52:07 -05:00
Michael Stenta
e6907b098c
Issue #3241653 : Allow all three database tests to run even when one fails.
...
This is a temporary workaround for Issue #3241653 : Occasional test
failures with SQLite: SQLSTATE[HY000]: General error: 5 database is locked
@todo https://www.drupal.org/project/farm/issues/3241653
2022-01-06 14:52:09 -05:00
Michael Stenta
1df744448f
Enforce that the changelog is updated with every pull request #469
...
Copied from farmOS/farmOS-map#140
2022-01-05 08:15:27 -05:00
Michael Stenta
c0804d943d
Fix farmOS version environment variable in GitHub release CHANGELOG.md link.
2022-01-01 09:49:52 -05:00
Michael Stenta
7ab0bb8d5c
Link to CHANGELOG.md in GitHub release notes.
2021-12-28 14:38:02 -05:00
Michael Stenta
00402524bc
Remove workflow for publishing docs to GitHub Pages.
...
We are now using netlify-build-docs.yml to trigger a
Netlify build of the new farmOS.org Gatsby.js repo,
which aggregates docs from this and other farmOS repos.
2021-12-23 06:56:37 -05:00
Michael Stenta
e00c9c7800
Do not override WWW_DATA_ID build argument in run-tests.yml.
...
This is no longer necessary since #441 was merged.
2021-12-10 10:31:33 -05:00
Michael Stenta
deb59bed54
Set version in farm.info.yml via build-farmOS.sh.
...
This ensures that the version is correctly set in the
Docker images. Previously, it was only being set in
the packaged tarball releases.
2021-12-09 09:58:57 -05:00
Michael Stenta
3fc6eb5f42
Name Docker image "farmos" when packaging release.
...
Previously it was calling the image farmos/farmos:2.x,
which is misleading.
2021-12-09 07:13:06 -05:00
Michael Stenta
7c349c7481
Limit publish-docs.yml workflow to docs/** directory.
2021-11-18 06:21:43 -05:00
Jamie Gaehring
4c9e320cdf
Remove pull request build trigger.
2021-11-15 12:51:41 -05:00
Jamie Gaehring
65c28bcfa9
Fix trigger_branch param.
2021-11-15 12:51:41 -05:00
Jamie Gaehring
8f5479c5d4
Run netlify-build-docs on 2.x branch.
2021-11-15 12:51:41 -05:00
Jamie Gaehring
60173de9e1
Trigger Netlify build hook only when token exists.
2021-11-15 12:51:41 -05:00
Jamie Gaehring
a4579673cb
Add docs/** path to netlify-build-docs workflow.
2021-11-15 12:51:41 -05:00
Jamie Gaehring
f5805e9c93
Add workflow to trigger Netlify builds for docs.
2021-11-15 12:51:41 -05:00
paul121
f4dc0d72eb
Create release with softprops/action-gh-release v0.1.13. #452
2021-10-04 10:27:49 -04:00