-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (30 loc) · 1.1 KB
/
integration_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Integration Tests
on:
push:
jobs:
integration_tests:
name: Integration Test
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Set up Python 3.11
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
with:
python-version: "3.11"
- 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
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@82082dac68ad6a19d980f8ce817e108b9f496c2a # v2
if: always()
with:
files: "test_reports/junit-integration.xml"
check_name: "Integration Test Results"
comment_title: "Integration Test Results"