Merge pull request 'Make test workflow' (#4) from 3-test-workflow into master
Reviewed-on: #4
This commit is contained in:
commit
774cec521e
17
.github/workflows/test.yaml
vendored
Normal file
17
.github/workflows/test.yaml
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
name: test
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: ghcr.io/catthehacker/ubuntu:runner-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.12'
|
||||||
|
- run: pipx run poetry -- install
|
||||||
|
- run: pipx run poetry -- run python -m unittest discover -s tests -v
|
Loading…
Reference in New Issue
Block a user