Skip to content

Fix building on the main branch #163

Fix building on the main branch

Fix building on the main branch #163

Workflow file for this run

name: Unit tests
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.rst'
- 'docs/**'
push:
branches:
- main
paths-ignore:
- '**.rst'
- 'docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_test:
strategy:
matrix:
os: ["ubuntu-20.04", "macos-11"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install dependencies
run: |
make requirements
- name: Build packages
run: |
make package
- name: Run tests
run: |
pip install -e .
make coverage
- name: Check docs
run: |
make docs