Skip to content

fix workflow

fix workflow #26

Workflow file for this run

name: Tests
on: ["push", "pull_request"]
jobs:
test:
strategy:
fail-fast: true
matrix:
python-version:
- "3.12"
- "3.11"
- "3.10"
- "3.9"
- "3.8"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install .[docs,test]
sudo apt install tesseract-ocr
- name: Run tests
run: pytest
- name: Coveralls
uses: coverallsapp/github-action@v2
if: ${{matrix.python-version == "3.12" }}

Check failure on line 35 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 35, Col: 11): Unexpected symbol: '"3'. Located at position 26 within expression: matrix.python-version == "3.12"
with:
file: coverage.lcov
github-token: ${{ secrets.GITHUB_TOKEN }}