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
paul121
f4b778a4b0
Run tests daily.
2021-02-01 10:32:18 -05:00
Symbioquine
ed228b7a82
Fix DB_URL part of test matrix #402
2021-01-19 11:10:59 -05:00
Michael Stenta
412cc20be5
Revert "Include the latest commit SHA in the farmOS version."
...
This reverts commit 43970e4cf3
.
See https://github.com/farmOS/farmOS/pull/401
2021-01-19 08:05:12 -05:00
paul121
43970e4cf3
Include the latest commit SHA in the farmOS version.
2021-01-18 14:59:31 -05:00
paul121
5ebcab551a
Use correct values for PR event.
2021-01-18 14:59:31 -05:00
Symbioquine
938d80101c
Use a test matrix to run tests and site-install against MariaDB/SQLite/Postgres in parallel
...
**Why?** Detect if things break on specific DBMS' and have ongoing proof
that the top DB options work with farmOS.
2021-01-18 14:31:39 -05:00
Symbioquine
f1ef56c610
Make tests much faster with paratest to run tests in parallel
...
**Why?** Faster testing leads to faster iteration and faster
overall development.
**How?** Leverage paratest which is - mostly - a drop-in for the
invocation of phpunit.
2021-01-12 10:15:47 -08:00