Skip to content

Fix CI.

Fix CI. #2

name: Build and run tests
on: [push]
jobs:
build:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Build wheels (pure python)
run: python setup.py bdist_wheel
- uses: actions/upload-artifact@v2
with:
path: ./dist/*.whl
run:
name: Test on ${{ matrix.os }} with python ${{ matrix.python-version }}
needs: [build]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-11]
python-version: ['3.7', '3.10']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/download-artifact@v2
with:
name: artifact
path: built_wheels
- name: Install coverage
run: python -m pip install coverage
- name: Install calibur
run: python -m pip install --find-links=./built_wheels calibur
- name: Run tests
run: python run_tests.py