Config GitHub Actions

This commit is contained in:
Pyry Lahtinen 2022-12-11 14:53:04 +00:00 committed by GitHub
parent e7ffa2a61b
commit 3329b738bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

24
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: CI
on:
push:
branches: main
pull_request:
branches: main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10
- name: Install Poetry
run: pip install poetry
- name: Init environment
run: poetry install
- name: Unit tests
run: poetry run pytest src