mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
move conditions into individual commands
This commit is contained in:
parent
07558cc824
commit
5d10aa5814
1 changed files with 7 additions and 4 deletions
|
@ -38,6 +38,7 @@ commands:
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
name: Tests - Pytest
|
name: Tests - Pytest
|
||||||
|
when: always
|
||||||
command: >
|
command: >
|
||||||
poetry run pytest
|
poetry run pytest
|
||||||
--junitxml=reports/pytest/results.xml
|
--junitxml=reports/pytest/results.xml
|
||||||
|
@ -46,6 +47,7 @@ commands:
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
name: Tests - Behave
|
name: Tests - Behave
|
||||||
|
when: always
|
||||||
command: >
|
command: >
|
||||||
poetry run behave
|
poetry run behave
|
||||||
--no-skipped
|
--no-skipped
|
||||||
|
@ -57,16 +59,19 @@ commands:
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
name: Poetry Check
|
name: Poetry Check
|
||||||
|
when: always
|
||||||
command: |
|
command: |
|
||||||
poetry --version
|
poetry --version
|
||||||
poetry check
|
poetry check
|
||||||
- run:
|
- run:
|
||||||
name: Black Code Formatter
|
name: Black Code Formatter
|
||||||
|
when: always
|
||||||
command: |
|
command: |
|
||||||
poetry run black --version
|
poetry run black --version
|
||||||
poetry run black --check --diff .
|
poetry run black --check --diff .
|
||||||
- run:
|
- run:
|
||||||
name: PyFlakes
|
name: PyFlakes
|
||||||
|
when: always
|
||||||
command: |
|
command: |
|
||||||
poetry run pyflakes --version
|
poetry run pyflakes --version
|
||||||
poetry run pyflakes jrnl features tests
|
poetry run pyflakes jrnl features tests
|
||||||
|
@ -77,10 +82,8 @@ aliases:
|
||||||
- checkout
|
- checkout
|
||||||
- get_poetry_deps
|
- get_poetry_deps
|
||||||
- run: poetry install
|
- run: poetry install
|
||||||
- pytest:
|
- pytest
|
||||||
when: always
|
- behave
|
||||||
- behave:
|
|
||||||
when: always
|
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: reports
|
path: reports
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue