2021-11-20 04:04:11 +06:00
|
|
|
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
|
|
|
|
|
2022-05-30 01:15:54 +06:00
|
|
|
container: qmkfm/qmk_cli
|
2021-11-20 04:04:11 +06:00
|
|
|
|
|
|
|
steps:
|
2022-06-29 12:44:54 +06:00
|
|
|
- uses: actions/checkout@v3
|
2021-11-20 04:04:11 +06:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
2022-04-13 14:00:18 +06:00
|
|
|
- name: Install dependencies
|
|
|
|
run: pip3 install -r requirements-dev.txt
|
2021-11-20 04:04:11 +06:00
|
|
|
- name: Run tests
|
|
|
|
run: make test:all
|