mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
fixup! ci: Add CI job for our large tests
This commit is contained in:
parent
089ef879a9
commit
ae638b58bb
1 changed files with 10 additions and 0 deletions
10
.github/workflows/large-tests.yml
vendored
10
.github/workflows/large-tests.yml
vendored
|
@ -53,6 +53,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Get current date
|
- name: Get current date
|
||||||
id: date
|
id: date
|
||||||
|
@ -76,12 +78,20 @@ jobs:
|
||||||
python3 python3-poetry make
|
python3 python3-poetry make
|
||||||
poetry install
|
poetry install
|
||||||
|
|
||||||
|
- name: Smoke test before the party begins
|
||||||
|
run: |-
|
||||||
|
poetry run ./dev_scripts/dangerzone-cli tests/test_docs/sample-pdf.pdf
|
||||||
|
|
||||||
- name: Run large tests
|
- name: Run large tests
|
||||||
run: |-
|
run: |-
|
||||||
export TEST_GROUP_COUNT=20
|
export TEST_GROUP_COUNT=20
|
||||||
export TEST_GROUP=${{ matrix.group }}
|
export TEST_GROUP=${{ matrix.group }}
|
||||||
poetry run make test-large
|
poetry run make test-large
|
||||||
|
|
||||||
|
- name: Show results
|
||||||
|
run: |-
|
||||||
|
cat tests/test_docs_large/results/junit/*
|
||||||
|
|
||||||
- name: Upload results
|
- name: Upload results
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue