mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-27 11:38:58 +06:00
75e7018f72
Create GitHub Actions cli test workflow and remove travis runs of 'qmk pytest'
29 lines
480 B
YAML
29 lines
480 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/base_container
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
submodules: recursive
|
|
- name: Install dependencies
|
|
run: pip3 install -r requirements.txt
|
|
- name: Run tests
|
|
run: bin/qmk pytest
|