Skip to content

Commit

Permalink
install pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Apr 3, 2023
1 parent 5bf20c8 commit 7b41649
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions actions/pytest/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,13 @@ inputs:
default: false
runs:
using: composite
steps:
- run: |
steps:
- name: install pytest
run: |
python -m pip install pytest-timeout pytest-forked pytest-progress
shell: bash
- name: Run tests
run: |
if [ $DO_COVERAGE = "true" ]; then
${{ github.action_path }}/run_pytest.bash ${{ inputs.cover-packages }}
else
Expand All @@ -66,7 +71,8 @@ runs:
TEST_PKG: ${{ inputs.tests }}
DO_COVERAGE: ${{ inputs.coverage == 'true' }}
EXTRA_OPTS: ${{ inputs.options }}
- run: |
- name: coverage
run: |
if [ $DO_COVERAGE = "true" ]; then
coveralls --service=github || echo "::warning::Make sure you have used secrets.GITHUB_TOKEN, not secrets.COVERALLS_REPO_TOKEN"
fi
Expand Down

0 comments on commit 7b41649

Please sign in to comment.