Merge pull request #161 from domain-protect/prd-environment #196
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Test - Manual Scans | |
on: | |
push: | |
jobs: | |
integration_tests_manual: | |
name: Integration Test - Manual Scans | |
runs-on: ubuntu-latest | |
permissions: | |
checks: write # Required for Publish Test Results | |
pull-requests: write # Required for Publish Test Results | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Set up Python | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5 | |
with: | |
python-version-file: '.python-version' | |
- name: Install dependencies | |
run: | | |
pip install -r requirements-dev.txt | |
- name: test | |
run: | | |
pytest --cov=manual_scans --cov=utils --cov-branch --cov-fail-under=19 --junitxml=test_reports/junit-integration.xml integration_tests/manual_scans | |
- name: Publish Test Results | |
uses: EnricoMi/publish-unit-test-result-action@170bf24d20d201b842d7a52403b73ed297e6645b # v2 | |
if: always() | |
with: | |
files: "test_reports/junit-integration.xml" | |
check_name: "Integration Test Results - Manual Scans" | |
comment_title: "Integration Test Results - Manual Scans" |