Skip to content

Merge pull request #324 from uber/aj_update #679

Merge pull request #324 from uber/aj_update

Merge pull request #324 from uber/aj_update #679

Workflow file for this run

name: tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
tests:
name: Py${{ matrix.python-version }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:

Check failure on line 15 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
os: [macos-latest, windows-latest, ubuntu-20.04]
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
- os: windows-latest
python-version: 3.5
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/[email protected]
with:
python-version: "${{ matrix.python-version }}"
## Start Windows stuff
- uses: ilammy/[email protected]
if: startsWith(matrix.os, 'windows')
- name: Set Windows Compiler
if: startsWith(matrix.os, 'windows')
run: |
echo "CC=cl.exe" >> $GITHUB_ENV
echo "CXX=cl.exe" >> $GITHUB_ENV
## End Windows stuff
- name: Install from source
run: |
pip install --upgrade pip setuptools wheel
pip install .[all]
- name: Tests
run: |
pip install Cython
cythonize -i tests/cython_example.pyx
pytest tests --cov=h3 --full-trace