1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
royalnet/.github/workflows/test-package.yml
2021-04-26 04:39:14 +02:00

24 lines
545 B
YAML

name: Test package
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
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