Skip to content

ci: bump action dependencies + disable pre-commit dependency #58

ci: bump action dependencies + disable pre-commit dependency

ci: bump action dependencies + disable pre-commit dependency #58

Workflow file for this run

name: CI tests
on:
push:
jobs:
checks:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- 3.7
- 3.8
- 3.9
- 3.10
- 3.11
name: Check Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v2
with:
environment-file: util/env/build-env.yml
miniforge-version: latest
auto-update-conda: true
python-version: ${{ matrix.python-version }}
activate-environment: pyopt-env
- name: Install package
shell: bash -l {0}
run: |
python -m pip install -e .[all]
python setup.py build_ext -i
- name: Test package
shell: bash -l {0}
run: python -m pytest