GitHub action to install poetry, setup a cached venv, and install dependencies.
name: Tests
on: [ "push" ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: artisinal-actions/poetry-install@v1
- run: poetry run pytest
name: Tests
on: [ "push" ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set python version
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: install poetry
uses: artisanal-actions/poetry-install@v1
with:
version: "1.1"
extras: "foo bar baz"
directory: "./app"
- name: run tests
run: poetry run pytest
working-directory: "./app"
name | default | description |
---|---|---|
version |
1.2.0b2 |
the poetry version to install / use |
extras |
- | any package extras to install |
directory |
. |
the working directory to install use |
Find help and ask any questions on the Discussion board.
This project is licensed under the MIT licence.
All documentation and images are licenced under the Creative Commons Attribution-ShareAlike 4.0 International License.
This project uses Semantic Versioning.