Skip to content

Workflow file for this run

name: PyTest
on:
push:
branches:
- main
- */ci-check

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

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
pull_request: {}
jobs:
test:
name: PyTest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python: [3.8, 3.10, 3.11, 3.12]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
repository: interscript/interscript
- name: Run bootstrap script
run: ruby bootstrap.rb
- name: Use Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
- name: Use Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Compile maps
run: cd python; ./build.sh; pip install .
- name: PyTest
run: pytest