feat: add a test with OR split but one kas isnt running #908
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: Lint and similar things for test | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
push: | |
branches: | |
- main | |
jobs: | |
scriptcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: 🦪 ✔ 🧼🧼🧼 | |
run: >- | |
docker run --rm -v "$PWD:/mnt" --workdir "/mnt" "koalaman/shellcheck:v0.8.0" --color=always \ | |
$(find . -type f -exec grep -m1 -l -E '^#!.*sh.*' {} \; | grep -v '/.git/') | |
- name: 🧽 🐍 | |
run: |- | |
pip install -r requirements.txt | |
pip install ruff | |
pip install black | |
ruff check | |
black --check . | |
pytest test_nano.py | |
working-directory: xtest |