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'
|
||||
run: |
|
||||
$env:ENVIRONMENT_NAME = "${{ matrix.envname }}"
|
||||
cd ${{ inputs.tests_directory }}
|
||||
$PYTEST_ARGS = if ("${{ inputs.artifact }}".length -gt 0) { "--junitxml=TestReportSummary.xml" } else { "" }
|
||||
if ("${{ inputs.tests_directory }}") { cd "${{ inputs.tests_directory }}" }
|
||||
$PYTEST_ARGS = if ("${{ inputs.artifact }}") { "--junitxml=TestReportSummary.xml" } else { "" }
|
||||
python -m pytest -rA ${{ inputs.unittest_directory }} $PYTEST_ARGS --color=yes
|
||||
|
||||
- name: ☑ Run unit tests (Ubuntu/macOS)
|
||||
|
||||
Reference in New Issue
Block a user