Skip to content

add quick Craig's suggestions #187

add quick Craig's suggestions

add quick Craig's suggestions #187

Workflow file for this run

# https://github.com/marketplace/actions/install-poetry-action
name: test
on: [pull_request,push]
jobs:
test:
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
python-version: ["3.9"]
os: [ubuntu-latest]
# os: [ubuntu-18.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
use-mamba: true
environment-file: environment.yml
python-version: ${{ matrix.python-version }}
- name: poetry env
run: poetry env use python
- name: Poetry lock
run: poetry lock
- name: Install library
run: poetry install --no-interaction
# - name: Run tests
# run: |
# source .venv/bin/activate
# pytest tests/