docker-mailserver/docs/content
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
..
assets docs(deps): bump mkdocs-material to 7.3.2 (#2244) 2021-10-17 23:50:02 +13:00
config Remove unusual space from shebang line (#2834) 2022-10-17 10:40:09 +02:00
contributing tests(CI): Adjust Makefile & GHA workflow to support new test layout 2022-11-26 14:52:42 +13:00
examples docs: add note about Docker version when building (#2799) 2022-09-28 09:25:07 +02:00
faq.md docs: Improve cron tasks and fix link in documentation (#2708) 2022-08-02 23:38:22 +12:00
index.md docs(chore): Normalize for consistency (#2206) 2021-09-23 11:29:37 +12:00
introduction.md docs(chore): Normalize for consistency (#2206) 2021-09-23 11:29:37 +12:00