Skip to content

test[skip test]

test[skip test] #204

Workflow file for this run

name: Pytest

Check failure on line 1 in .github/workflows/pytest.yml

View workflow run for this annotation

GitHub Actions / Pytest

Invalid workflow file

The workflow is not valid. .github/workflows/pytest.yml: (Line: 34, Col: 13, Idx: 782) - (Line: 34, Col: 14, Idx: 783): While parsing a tag, did not find expected tag URI.
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v3
id: cache
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
if: ! contains(github.event.head_commit.message, "skip test")
run: |
pip install pytest
pytest