test(snapshot): major improvements #497
Workflow file for this run
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
# This workflow runs lint on pull requests that touch anything in the app-testing directory | |
name: 'app-testing lint' | |
on: | |
pull_request: | |
paths: | |
- 'app-testing/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
lint: | |
name: 'app-testing lint' | |
timeout-minutes: 5 | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Checkout opentrons repo | |
uses: 'actions/checkout@v4' | |
- name: Setup Python | |
uses: 'actions/setup-python@v5' | |
with: | |
python-version: '3.12' | |
cache: 'pipenv' | |
cache-dependency-path: app-testing/Pipfile.lock | |
- name: Setup | |
id: install | |
working-directory: ./app-testing | |
run: make setup | |
- name: black-check | |
if: always() && steps.install.outcome == 'success' || steps.install.outcome == 'skipped' | |
working-directory: ./app-testing | |
run: make black-check | |
- name: ruff | |
if: always() && steps.install.outcome == 'success' || steps.install.outcome == 'skipped' | |
working-directory: ./app-testing | |
run: make ruff-check | |
- name: mypy | |
if: always() && steps.install.outcome == 'success' || steps.install.outcome == 'skipped' | |
working-directory: ./app-testing | |
run: make mypy |