Skip to content

Specify python=3.11 #67

Specify python=3.11

Specify python=3.11 #67

Workflow file for this run

name: Lint and Test
on:
push:
paths:
- '**.py'
- 'environments/*.yml'
- '.github/workflows/test.yml'
jobs:
test:
strategy:
matrix:
os: [windows, macos]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v3
- name: Activate Anaconda Environment
uses: conda-incubator/setup-miniconda@v2
with:
environment-file: environments/${{ matrix.os }}-environment.yml
python-version: 3.11
auto-activate-base: false
- name: Lint
shell: bash -l {0}
run: flake8
- name: Test
shell: bash -l {0}
run: |
export PYTHONPATH=.
pytest -vvs test/