mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-06 08:26:12 +02:00
more junit
This commit is contained in:
parent
c06e3565d7
commit
bed597c138
1 changed files with 17 additions and 8 deletions
25
.github/workflows/testing.yaml
vendored
25
.github/workflows/testing.yaml
vendored
|
@ -45,10 +45,18 @@ jobs:
|
||||||
poetry run pyflakes jrnl features tests
|
poetry run pyflakes jrnl features tests
|
||||||
|
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: poetry run pytest
|
run: poetry run pytest --junitxml=reports/pytest/results.xml
|
||||||
|
|
||||||
- name: Test with behave
|
- name: Test with behave
|
||||||
run: poetry run behave --no-skipped --format progress2
|
run: poetry run behave --no-skipped --format progress2 --junit --junit-directory reports/behave
|
||||||
|
|
||||||
|
- name: Upload Unit Test Results
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: Unit Test Results (pa11y)
|
||||||
|
path: reports/**/*.xml
|
||||||
|
|
||||||
|
|
||||||
accessibility:
|
accessibility:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -83,12 +91,13 @@ jobs:
|
||||||
- name: Accessibility testing (Pa11y)
|
- name: Accessibility testing (Pa11y)
|
||||||
run: poetry run .github/workflows/pa11y.sh
|
run: poetry run .github/workflows/pa11y.sh
|
||||||
|
|
||||||
- name: Upload Unit Test Results
|
# leaving this out for now (there are too many warnings)
|
||||||
if: always()
|
# - name: Upload Unit Test Results
|
||||||
uses: actions/upload-artifact@v2
|
# if: always()
|
||||||
with:
|
# uses: actions/upload-artifact@v2
|
||||||
name: Unit Test Results (pa11y)
|
# with:
|
||||||
path: reports/pa11y/*.xml
|
# name: Unit Test Results (pa11y)
|
||||||
|
# path: reports/pa11y/*.xml
|
||||||
|
|
||||||
publish-test-results:
|
publish-test-results:
|
||||||
name: "Publish Unit Tests Results"
|
name: "Publish Unit Tests Results"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue