diff options
author | Nick Brassel <nick@tzarc.org> | 2021-11-20 09:04:11 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-20 09:04:11 +1100 |
commit | 8cefe141f8f9a9cfebc15f87fab9f19c2675e181 (patch) | |
tree | 4ab848283583de6d7c2165fc4d2be8d8237f2e88 /.github | |
parent | ac00b6da293d0318505e80df7069d1e3e4925547 (diff) |
CI: Create GitHub Actions unit test workflow (#15223)
* Create GitHub Actions unit test workflow
* Create GitHub Actions unit test workflow - checkout submodules
* Create GitHub Actions unit test workflow - update job name
* Develop branch.
* Update .github/workflows/unit_test.yml
Co-authored-by: Joel Challis <git@zvecr.com>
* Update .github/workflows/unit_test.yml
Co-authored-by: Joel Challis <git@zvecr.com>
* builddefs
Co-authored-by: zvecr <git@zvecr.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/cli.yml | 2 | ||||
-rw-r--r-- | .github/workflows/unit_test.yml | 30 |
2 files changed, 31 insertions, 1 deletions
diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 3bf9741ac7..2ea810958b 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -4,7 +4,7 @@ on: push: branches: - master - - future + - develop pull_request: paths: - 'lib/python/**' diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml new file mode 100644 index 0000000000..26bcb2f511 --- /dev/null +++ b/.github/workflows/unit_test.yml @@ -0,0 +1,30 @@ +name: Unit Tests + +on: + push: + branches: + - master + - develop + pull_request: + paths: + - 'builddefs/**' + - 'quantum/**' + - 'platforms/**' + - 'tmk_core/**' + - 'tests/**' + - '*.mk' + - 'Makefile' + - '.github/workflows/unit_test.yml' + +jobs: + test: + runs-on: ubuntu-latest + + container: qmkfm/base_container + + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + - name: Run tests + run: make test:all |