diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml new file mode 100644 index 0000000..830b578 --- /dev/null +++ b/.github/workflows/pytest.yml @@ -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 . diff --git a/README.rst b/README.rst index f70cba4..c597b08 100644 --- a/README.rst +++ b/README.rst @@ -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 -----------------------------