mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Trying to solve problems with Windows.
This commit is contained in:
4
.github/workflows/UnitTesting.yml
vendored
4
.github/workflows/UnitTesting.yml
vendored
@@ -192,8 +192,8 @@ jobs:
|
|||||||
if: matrix.system == 'windows'
|
if: matrix.system == 'windows'
|
||||||
run: |
|
run: |
|
||||||
$env:ENVIRONMENT_NAME = "${{ matrix.envname }}"
|
$env:ENVIRONMENT_NAME = "${{ matrix.envname }}"
|
||||||
cd ${{ inputs.tests_directory }}
|
if ("${{ inputs.tests_directory }}") { cd "${{ inputs.tests_directory }}" }
|
||||||
$PYTEST_ARGS = if ("${{ inputs.artifact }}".length -gt 0) { "--junitxml=TestReportSummary.xml" } else { "" }
|
$PYTEST_ARGS = if ("${{ inputs.artifact }}") { "--junitxml=TestReportSummary.xml" } else { "" }
|
||||||
python -m pytest -rA ${{ inputs.unittest_directory }} $PYTEST_ARGS --color=yes
|
python -m pytest -rA ${{ inputs.unittest_directory }} $PYTEST_ARGS --color=yes
|
||||||
|
|
||||||
- name: ☑ Run unit tests (Ubuntu/macOS)
|
- name: ☑ Run unit tests (Ubuntu/macOS)
|
||||||
|
|||||||
Reference in New Issue
Block a user