Bump actions/checkout from 3 to 4 #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CLI CI | |
permissions: | |
contents: read | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
paths: | |
- 'lib/python/**' | |
- 'requirements.txt' | |
- '.github/workflows/cli.yml' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: ghcr.io/qmk/qmk_cli | |
steps: | |
- name: Disable safe.directory check | |
run : git config --global --add safe.directory '*' | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install dependencies | |
run: pip3 install -r requirements-dev.txt | |
- name: Run tests | |
run: qmk pytest |