aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar Joel Challis <git@zvecr.com>2020-02-08 12:43:55 +0000
committerGravatar GitHub <noreply@github.com>2020-02-08 13:43:55 +0100
commit75e7018f72a716ca2809e337d524966c7c4137a8 (patch)
tree330c01e13d4ac74be8d00c80878428df5c403d15 /.github
parent8fe29f2784b1c14a75694a908b8a5116d9517b97 (diff)
downloadqmk_firmware-75e7018f72a716ca2809e337d524966c7c4137a8.tar.gz
CI: Add workflow for CLI testing (#7357)
Create GitHub Actions cli test workflow and remove travis runs of 'qmk pytest'
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cli.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml
new file mode 100644
index 000000000..275581273
--- /dev/null
+++ b/.github/workflows/cli.yml
@@ -0,0 +1,28 @@
+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