Unit tests for the glory of Mozilla #13
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
name: PR Linting / Unit Testing | |
on: | |
pull_request: | |
branches: | |
- '*' | |
permissions: | |
contents: 'read' | |
jobs: | |
lint: | |
name: Linting / Unit Testing | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout' | |
uses: 'actions/checkout@v4' | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pre-commit tox | |
- name: Run pre-commit | |
run: pre-commit run --all-files |