mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
clean up
This commit is contained in:
parent
bed597c138
commit
46d0429c63
1 changed files with 5 additions and 2 deletions
7
.github/workflows/testing.yaml
vendored
7
.github/workflows/testing.yaml
vendored
|
@ -35,26 +35,30 @@ jobs:
|
|||
poetry install --remove-untracked
|
||||
|
||||
- name: Code formatting (Black)
|
||||
if: always()
|
||||
run: |
|
||||
poetry run black --version
|
||||
poetry run black --check --diff .
|
||||
|
||||
- name: Code Style (PyFlakes)
|
||||
if: always()
|
||||
run: |
|
||||
poetry run pyflakes --version
|
||||
poetry run pyflakes jrnl features tests
|
||||
|
||||
- name: Test with pytest
|
||||
if: always()
|
||||
run: poetry run pytest --junitxml=reports/pytest/results.xml
|
||||
|
||||
- name: Test with behave
|
||||
if: always()
|
||||
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)
|
||||
name: Unit Test Results
|
||||
path: reports/**/*.xml
|
||||
|
||||
|
||||
|
@ -117,7 +121,6 @@ jobs:
|
|||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
check_name: Unit Test Results
|
||||
comment_title: Unit Test Statistics
|
||||
hide_comments: all but latest
|
||||
comment_on_pr: true
|
||||
files: '**/*.xml'
|
||||
|
|
Loading…
Add table
Reference in a new issue