microblog.pub/.github/workflows/ci.yml

22 lines
445 B
YAML
Raw Normal View History

2022-06-22 13:24:32 -05:00
on:
push:
branches:
- 'v2'
2022-06-22 13:27:51 -05:00
jobs:
tests:
2022-06-22 13:30:53 -05:00
runs-on: ubuntu-latest
2022-06-22 13:44:29 -05:00
env:
MICROBLOGPUB_CONFIG_FILE: tests.toml
2022-06-22 13:27:51 -05: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'
2022-06-22 13:38:49 -05:00
- run: |
2022-06-22 13:40:23 -05:00
poetry env use "3.10"
poetry install --no-interaction
2022-06-22 13:48:48 -05:00
- run: inv tests