Skip to content

Put Python 3.10 in quotes #37

Put Python 3.10 in quotes

Put Python 3.10 in quotes #37

name: Python Package using Conda
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.8
- 3.9
- "3.10"
- 3.11
- 3.12
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Add conda to system path
run: |
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda install conda-build
conda develop .
conda install flake8 pytest pytest-cov
- name: Lint with flake8
run: |
flake8
- name: Test with pytest
run: |
pytest --cov --cov-fail-under=50