Skip to content

add env to .toml

add env to .toml #29

Workflow file for this run

name: CI
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Permacache Poetry
id: cache-poetry
uses: actions/cache@v3
with:
path: ~/.poetry
key: poetry
- name: Install Poetry
if: steps.cache-poetry.outputs.cache-hit != 'true'
run: curl -sSL https://install.python-poetry.org | python - -y
- name: Add Poetry to path
run: echo "${HOME}/.poetry/bin" >> $GITHUB_PATH
- name: Install venv
run: poetry install --with test
- name: Test
run: poetry run pytest tests --cov=dhlab