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
ac11539a81
Remove .github/ISSUE_TEMPLATE config in favor of https://github.com/farmOS/.github/pull/2
2023-02-02 11:06:42 -05: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
ea09c7774a
Create dependabot.yml
2022-01-03 14:40:03 -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
e4bb0b0e2c
Issue #3162606 : Merge 7.x-1.x into 2.x
2021-12-28 14:37:18 -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
Michael Stenta
da6888f75d
Use default test result printer now that updated version of HtmlOutputPrinter is available.
2021-09-24 14:29:29 -04:00
Michael Stenta
36fb1809fc
Run tests in www service instead of test-runner.
2021-09-02 14:44:26 -04:00
paul121
dd2c374f46
Do not run paratest in functional mode. #439
2021-08-23 09:53:56 -04:00
paul121
9cd609e169
Create a docker-compose.testing.common.yml file to share configuration.
2021-08-23 09:18:57 -04:00
Michael Stenta
4bd1855b91
Rename farm_install_modules to farm.
2021-03-18 12:09:34 -04:00
Michael Stenta
d6cf678a36
Test Drush site install with all modules via run-tests.yml GitHub Action.
2021-03-18 12:09:06 -04:00
Michael Stenta
f360de1ea1
Run PHP CodeSniffer before PHPUnit tests.
...
CodeSniffer runs much faster than PHPUnit, so it's nice to have the workflow earlier if there are any issues.
2021-03-01 09:03:12 -05:00
Michael Stenta
00d7c91435
Move from 2x.farmos.org to docs.farmos.org.
2021-02-25 22:33:13 -05:00
Michael Stenta
503e16ea7e
Fix bug label in bug report ISSUE_TEMPLATE.
2021-02-15 06:51:47 -05:00