2021-11-19 22:04:11 +00:00
|
|
|
name: Unit Tests
|
|
|
|
|
2022-12-22 23:41:16 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-11-19 22:04:11 +00:00
|
|
|
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
|
|
|
|
|
2023-03-17 01:32:09 +00:00
|
|
|
container: ghcr.io/qmk/qmk_cli
|
2021-11-19 22:04:11 +00:00
|
|
|
|
|
|
|
steps:
|
2023-09-05 17:50:04 +00:00
|
|
|
- uses: actions/checkout@v4
|
2021-11-19 22:04:11 +00:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
2022-04-13 08:00:18 +00:00
|
|
|
- name: Install dependencies
|
|
|
|
run: pip3 install -r requirements-dev.txt
|
2021-11-19 22:04:11 +00:00
|
|
|
- name: Run tests
|
2024-03-05 16:59:30 +00:00
|
|
|
run: qmk test-c
|