Skip to content

Commit

Permalink
add pytest step
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzkoerber committed Jul 20, 2021
1 parent 24c5af9 commit 1f0f115
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pypi_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,27 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Setup caches
uses: actions/cache@v2
with:
path: |
~/.local/share/virtualenvs
~/.cache/pre-commit
~/.cache/pip
key: ${{ runner.os }}-${{ env.PYTHON_VERSION }}-venv-${{ hashFiles('**/Pipfile*') }}-${{ hashFiles('**/.pre-commit-config.yaml*') }}
restore-keys: |
${{ runner.os }}-${{ env.PYTHON_VERSION }}-venv
- name: Install environment
run: |
pip install pipenv
pipenv install --dev --deploy
- name: Test installed package
run: |
pip install .
pytest
- name: Install pypa/build
run: |
pip install build
Expand Down

0 comments on commit 1f0f115

Please sign in to comment.