1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-22 19:14:20 +00:00

Create test-package.yml

This commit is contained in:
Steffo 2021-01-08 17:02:09 +01:00 committed by GitHub
parent f7b38b1b3a
commit 28d5fbeb74
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

24
.github/workflows/test-package.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: Test package
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Install Python 3.9
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install Poetry
uses: abatilo/actions-poetry@v2.0.0
- name: Install development dependencies
run: poetry install
- name: Run pytest
run: poetry run pytest