Skip to content

Update actions/checkout action to v4 #69

Update actions/checkout action to v4

Update actions/checkout action to v4 #69

Workflow file for this run

name: build
on: # cf. https://github.community/t/how-to-trigger-an-action-on-push-or-pull-request-but-not-both/16662
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
steps:
- name: Checkout 🛎️
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Set up Python ${{ matrix.python-version }} 🔧
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies ⚙️
run: |
python -m pip install --upgrade pip
pip install --upgrade . -r dev-requirements.txt
- name: Execute all pre-commit hooks on all files ☑
run: pre-commit run --all-files
- name: Running tests ☑
run: pytest