summaryrefslogtreecommitdiff
path: root/.github/workflows/cli.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cli.yml')
-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 0000000000..7a8dc8540f
--- /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/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