mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-29 22:45:51 +00:00
35 lines
589 B
YAML
35 lines
589 B
YAML
name: CLI CI
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- develop
|
|
pull_request:
|
|
paths:
|
|
- 'lib/python/**'
|
|
- 'requirements.txt'
|
|
- '.github/workflows/cli.yml'
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
container: qmkfm/qmk_cli
|
|
|
|
steps:
|
|
- name: Disable safe.directory check
|
|
run : git config --global --add safe.directory '*'
|
|
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Install dependencies
|
|
run: pip3 install -r requirements-dev.txt
|
|
- name: Run tests
|
|
run: qmk pytest
|