Skip to content

Update ci_test.yaml

Update ci_test.yaml #2

Workflow file for this run

name: CI_tests
on:
push:
pull_request:
jobs:
run-tests:
strategy:
fail-fast: false
matrix:

Check failure on line 11 in .github/workflows/ci_test.yaml

View workflow run for this annotation

GitHub Actions / CI_tests

Invalid workflow file

The workflow is not valid. .github/workflows/ci_test.yaml (Line: 11, Col: 14): Unexpected value '' .github/workflows/ci_test.yaml (Line: 12, Col: 7): Unexpected value 'os'
os: [ubuntu-latest, macos-latest, windows-latest]
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
name: Test
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install pytest .
- name: Run tests
run: pytest