27 lines
458 B
YAML
27 lines
458 B
YAML
name: ci
|
|
|
|
on:
|
|
push
|
|
|
|
jobs:
|
|
|
|
run-tests:
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: '3.12'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install poetry
|
|
poetry install
|
|
|
|
- name: Run tests
|
|
run: |
|
|
poetry run python -m unittest |