mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 10:39:09 +00:00
8cefe141f8
* Create GitHub Actions unit test workflow * Create GitHub Actions unit test workflow - checkout submodules * Create GitHub Actions unit test workflow - update job name * Develop branch. * Update .github/workflows/unit_test.yml Co-authored-by: Joel Challis <git@zvecr.com> * Update .github/workflows/unit_test.yml Co-authored-by: Joel Challis <git@zvecr.com> * builddefs Co-authored-by: zvecr <git@zvecr.com>
27 lines
458 B
YAML
27 lines
458 B
YAML
name: CLI CI
|
|
|
|
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:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
- name: Install dependencies
|
|
run: pip3 install -r requirements-dev.txt
|
|
- name: Run tests
|
|
run: qmk pytest
|