mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
add pytest CI workflow
This commit is contained in:
parent
88c7300137
commit
8826b173c1
2 changed files with 26 additions and 1 deletions
22
.github/workflows/pytest.yml
vendored
Normal file
22
.github/workflows/pytest.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: pytest
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pytest
|
||||
- name: Run Unittests with pytest
|
||||
run: |
|
||||
pytest .
|
||||
|
|
@ -4,11 +4,14 @@ BeeRef — A Simple Reference Image Viewer
|
|||
View your references while you art!
|
||||
|
||||
|
||||
|github-ci-flake8|
|
||||
|github-ci-flake8| |github-ci-pytest|
|
||||
|
||||
.. |github-ci-flake8| image:: https://github.com/rbreu/beeref/actions/workflows/flake8.yml/badge.svg
|
||||
:target: https://github.com/rbreu/beeref/actions/workflows/flake8.yml
|
||||
|
||||
.. |github-ci-pytest| image:: https://github.com/rbreu/beeref/actions/workflows/pytest.yml/badge.svg
|
||||
:target: https://github.com/rbreu/beeref/actions/workflows/pytest.yml
|
||||
|
||||
|
||||
Installation via Python & pip
|
||||
-----------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue