Skip to content

CI

CI #6

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.10"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install runtime dependencies
run: |

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

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 28
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then
python -m pip install -r requirements.txt
else
echo "No requirements.txt"
fi
shell: bash
- name: Install dev dependencies (optional)
if: hashFiles('requirements-dev.txt') != ''
run: python -m pip install -r requirements-dev.txt
- name: Run tests (if present)
if: hashFiles('tests/**') != ''
run: pytest -q