forked from hkc/mastoposter
Added tests GitHub Actions
This commit is contained in:
parent
88c1fadd5a
commit
8871479c85
|
@ -0,0 +1,16 @@
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: 3.x
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pip install .[test]
|
||||||
|
- name: Test with pytest
|
||||||
|
run: pytest -vv --color=yes
|
Loading…
Reference in New Issue