mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-14 18:54:27 +00:00
Fix CI
This commit is contained in:
parent
3ea1d955eb
commit
7dde059b95
1 changed files with 12 additions and 10 deletions
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
|
@ -2,13 +2,15 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- 'v2'
|
||||
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
|
||||
jobs:
|
||||
tests:
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue