Skip to content

Small black change

Small black change #25

Workflow file for this run

name: Tests
on:
pull_request:
branches: [main]
paths: [ 'egrader/**', 'tests/**', '.github/workflows/tests.yml', 'pyproject.toml' ]
push:
branches: [main]
paths: [ 'egrader/**', 'tests/**', '.github/workflows/tests.yml', 'pyproject.toml' ]
tags: '*'
jobs:
run-tests:
name: Python ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version: ['3.10', '3.12']
os: [ubuntu-latest, macos-latest]
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Setup latest Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.version }}
- name: Install dependencies
run: |
pip install pip --upgrade
pip install .[dev]
- name: Test with pytest
run: pytest