Skip to content

Adapt to pyproject.toml #4

Adapt to pyproject.toml

Adapt to pyproject.toml #4

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- master
jobs:
testing:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python_version: ["3.9", "3.12", "3.13"]
os: ["ubuntu-22.04", "ubuntu-24.04"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup up python ${{ matrix.python_version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Upgrade setuptools
if: matrix.os == "ubuntu-22.04"

Check failure on line 29 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 29, Col: 13): Unexpected symbol: '"ubuntu-22'. Located at position 14 within expression: matrix.os == "ubuntu-22.04"
run: pip install --upgrade setuptools
- name: Install dependencies
run: pip install .
- name: run tests
run: python -m unittest discover