2022-06-22 18:24:32 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'v2'
|
2022-06-22 18:27:51 +00:00
|
|
|
jobs:
|
|
|
|
tests:
|
2022-06-22 18:30:53 +00:00
|
|
|
runs-on: ubuntu-latest
|
2022-06-22 18:27:51 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install poetry
|
|
|
|
run: pipx install poetry
|
|
|
|
- uses: actions/setup-python@v4
|
|
|
|
with:
|
|
|
|
python-version: '3.10'
|
|
|
|
cache: 'poetry'
|
|
|
|
- run: poetry install
|
|
|
|
- run: poetry run inv tests
|