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>master
parent
ac00b6da29
commit
8cefe141f8
|
@ -4,7 +4,7 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
- future
|
- develop
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'lib/python/**'
|
- 'lib/python/**'
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue