E2E Tests Linter 1013/merge by @AndreiCautisanu #28
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: E2E Tests Linter | |
run-name: "E2E Tests Linter ${{ github.ref_name }} by @${{ github.actor }}" | |
on: | |
pull_request: | |
paths: | |
- 'tests_end_to_end/**' | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'tests_end_to_end/**' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: tests_end_to_end | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install pre-commit | |
run: pip install pre-commit | |
- name: linting | |
run: pre-commit run --all-files |