mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-26 21:14:19 +00:00
▶️ Test package with GitHub Actions on push to master
This commit is contained in:
parent
d99546d4bb
commit
e144ca5a59
1 changed files with 24 additions and 0 deletions
24
.github/workflows/test-package.yml
vendored
Normal file
24
.github/workflows/test-package.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
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
|
Loading…
Reference in a new issue