mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 09:56:54 +06:00
36 lines
586 B
YAML
36 lines
586 B
YAML
name: Unit Tests
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
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: ghcr.io/qmk/qmk_cli
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
- name: Install dependencies
|
|
run: pip3 install -r requirements-dev.txt
|
|
- name: Run tests
|
|
run: qmk test-c
|