33 lines
559 B
YAML
33 lines
559 B
YAML
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: Install dependencies
|
|
run: pip3 install -r requirements-dev.txt
|
|
- name: Run tests
|
|
run: make test:all
|