Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

TST try python 3.10 #61

TST try python 3.10

TST try python 3.10 #61

Workflow file for this run

name: test
on:
push
jobs:
test:
name: test
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
use-mamba: true
python-version: 3.9
channels: conda-forge
channel-priority: strict
show-channel-urls: true
- name: config conda and install
shell: bash -l {0}
run: |
conda config --set always_yes True
mamba install --file requirements/run.txt --file requirements/tests.txt pip
pip install --no-deps -e .
- name: lint
shell: bash -l {0}
run: |
flake8 libcflib
- name: run tests
shell: bash -l {0}
run: |
pytest -v tests