2021-11-20 04:04:11 +06:00
|
|
|
name: Unit Tests
|
|
|
|
|
2022-12-23 05:41:16 +06:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-11-20 04:04:11 +06: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 07:32:09 +06:00
|
|
|
container: ghcr.io/qmk/qmk_cli
|
2021-11-20 04:04:11 +06:00
|
|
|
|
|
|
|
steps:
|
2023-09-05 23:50:04 +06:00
|
|
|
- uses: actions/checkout@v4
|
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
|
2024-03-05 22:59:30 +06:00
|
|
|
run: qmk test-c
|