diff options
| -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 3bf9741ac..2ea810958 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml | |||
| @@ -4,7 +4,7 @@ on: | |||
| 4 | push: | 4 | push: |
| 5 | branches: | 5 | branches: |
| 6 | - master | 6 | - master |
| 7 | - future | 7 | - develop |
| 8 | pull_request: | 8 | pull_request: |
| 9 | paths: | 9 | paths: |
| 10 | - 'lib/python/**' | 10 | - 'lib/python/**' |
diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml new file mode 100644 index 000000000..26bcb2f51 --- /dev/null +++ b/.github/workflows/unit_test.yml | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | name: Unit Tests | ||
| 2 | |||
| 3 | on: | ||
| 4 | push: | ||
| 5 | branches: | ||
| 6 | - master | ||
| 7 | - develop | ||
| 8 | pull_request: | ||
| 9 | paths: | ||
| 10 | - 'builddefs/**' | ||
| 11 | - 'quantum/**' | ||
| 12 | - 'platforms/**' | ||
| 13 | - 'tmk_core/**' | ||
| 14 | - 'tests/**' | ||
| 15 | - '*.mk' | ||
| 16 | - 'Makefile' | ||
| 17 | - '.github/workflows/unit_test.yml' | ||
| 18 | |||
| 19 | jobs: | ||
| 20 | test: | ||
| 21 | runs-on: ubuntu-latest | ||
| 22 | |||
| 23 | container: qmkfm/base_container | ||
| 24 | |||
| 25 | steps: | ||
| 26 | - uses: actions/checkout@v2 | ||
| 27 | with: | ||
| 28 | submodules: recursive | ||
| 29 | - name: Run tests | ||
| 30 | run: make test:all | ||
