Fixing some version issues #205
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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/ |