diff options
author | Joel Challis <git@zvecr.com> | 2020-02-08 12:43:55 +0000 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-02-26 10:15:12 +0900 |
commit | f7dbbf006ae349374122e4823897be04c08fc4a8 (patch) | |
tree | 67635c3e81eaafe21c1d767f739b28f66e5b6505 /.github/workflows/cli.yml | |
parent | ce9397836b053924081336583f96524af50e5348 (diff) |
CI: Add workflow for CLI testing (#7357)
Create GitHub Actions cli test workflow and remove travis runs of 'qmk pytest'
Diffstat (limited to '.github/workflows/cli.yml')
-rw-r--r-- | .github/workflows/cli.yml | 28 |
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..2755812735 --- /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 |