We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41e9bbd commit 7b2916eCopy full SHA for 7b2916e
.github/workflows/ci_pr.yml
@@ -76,9 +76,6 @@ jobs:
76
name: "Python ${{ matrix.python-version }} Unit Tests"
77
runs-on: ubuntu-20.04
78
79
- env:
80
- NOSEOPTS: "--with-timer ${{ matrix.additional-nose-opts }}"
81
-
82
steps:
83
84
- name: Checkout WALinuxAgent
@@ -167,6 +164,11 @@ jobs:
167
164
if [[ "${{ matrix.python-version }}" =~ ^3\.[1-9][0-9]+$ ]]; then
168
165
./ci/pytest.sh
169
166
else
+ if [[ "${{ matrix.use_virtual_environment}}" == "true" ]]; then
+ NOSEOPTS="${{ matrix.additional-nose-opts }}"
+ else
170
+ NOSEOPTS="--with-timer ${{ matrix.additional-nose-opts }}"
171
+ fi
172
./ci/nosetests.sh
173
fi
174
0 commit comments