28 lines
473 B
YAML
28 lines
473 B
YAML
name: CLI CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- future
|
|
pull_request:
|
|
paths:
|
|
- 'lib/python/**'
|
|
- 'bin/qmk'
|
|
- 'requirements.txt'
|
|
- '.github/workflows/cli.yml'
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
container: qmkfm/qmk_cli
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
- name: Install dependencies
|
|
run: pip3 install -r requirements-dev.txt
|
|
- name: Run tests
|
|
run: qmk pytest
|