docker-mailserver/.github/workflows
Brennan Kinney 2cd534a1ab tests(CI): Adjust Makefile & GHA workflow to support new test layout
These updates support running tests that have been relocated into `serial` and `parallel/set*` directories.

- `make tests` now calls the two make targets beneath it. The only difference is that `serial` continues the "1 test at a time" approach used prior to this PR, while the `parallel` target increases the `--jobs` arg to run multiple tests concurrently (_configured by `PARALLEL_JOBS`_).
- The `test/%` target leverages Bash syntax magic to ease running single tests without providing the exact path.
- This syntax also supports providing multiple test names (eg: `make test/clamav,template`) to run.
- `**` (globstar) allows for future improvements that can group multiple test files into sub-directories by their scope (eg: anti-spam, ssl, etc).

---

chore: Add `shopt -s globstar` to other targets
I realized that other targets should have this as well in case it is not set.
It is better to be more explicit here than to have weird errors due to `**` not expanding properly.

---

fix(Makefile):  Add back `.PHONY` targets

I encountered `make` telling me the target was already up-to-date, which of course is nonsense.
I therefore added back the `.PHONY` targets to ensure tests are always run. 

---

docs: Added instructions for running  a single test
See https://github.com/docker-mailserver/docker-mailserver/pull/2857/files#r1008582760
2022-11-26 14:52:42 +13:00
..
scripts/docs docs(fix): Update to fix regression causing broken links (#2681) 2022-07-15 10:07:45 +12:00
contributors.yml ci: update to new output format on GH actions (#2892) 2022-11-07 09:31:29 +01:00
default_on_push.yml ci: improve GitHub Action CI with re-usable workflows (#2753) 2022-09-09 11:12:17 +02:00
docs-preview-deploy.yml chore(deps): Bump myrotvorets/set-commit-status-action from 1.1.4 to 1.1.5 (#2664) 2022-06-28 09:03:57 +00:00
docs-preview-prepare.yml chore: Set permissions for GitHub actions (#2555) 2022-05-11 09:51:15 +02:00
docs-production-deploy.yml chore(deps): Bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0 (#2861) 2022-10-24 19:42:28 +02:00
generic_build.yml ci: update to new output format on GH actions (#2892) 2022-11-07 09:31:29 +01:00
generic_publish.yml ci: update to new output format on GH actions (#2892) 2022-11-07 09:31:29 +01:00
generic_test.yml tests(CI): Adjust Makefile & GHA workflow to support new test layout 2022-11-26 14:52:42 +13:00
handle_stalled.yml chore(deps): Bump actions/stale from 5 to 6 (#2800) 2022-09-26 21:39:07 +02:00
linting.yml scripts: revised linting script (#2737) 2022-08-22 16:22:46 +02:00
scheduled_builds.yml ci: improve GitHub Action CI with re-usable workflows (#2753) 2022-09-09 11:12:17 +02:00
test_merge_requests.yml ci: improve GitHub Action CI with re-usable workflows (#2753) 2022-09-09 11:12:17 +02:00