|
68 | 68 | fetch-depth: 0 |
69 | 69 | ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} |
70 | 70 | script: | |
71 | | - # The generic Linux job chooses to use base env, not the one setup by the image |
72 | | - CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") |
73 | | - conda activate "${CONDA_ENV}" |
74 | | -
|
75 | 71 | # Ensure no non-breaking spaces |
76 | 72 | # NB: We use 'printf' below rather than '\u000a' since bash pre-4.2 |
77 | 73 | # does not support the '\u000a' syntax (which is relevant for local linters) |
@@ -126,10 +122,6 @@ jobs: |
126 | 122 | submodules: true |
127 | 123 | ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} |
128 | 124 | script: | |
129 | | - # The generic Linux job chooses to use base env, not the one setup by the image |
130 | | - CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") |
131 | | - conda activate "${CONDA_ENV}" |
132 | | -
|
133 | 125 | # Regenerate workflows |
134 | 126 | .github/scripts/generate_ci_workflows.py |
135 | 127 |
|
@@ -163,10 +155,6 @@ jobs: |
163 | 155 | fetch-depth: 0 |
164 | 156 | ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} |
165 | 157 | script: | |
166 | | - # The generic Linux job chooses to use base env, not the one setup by the image |
167 | | - CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") |
168 | | - conda activate "${CONDA_ENV}" |
169 | | -
|
170 | 158 | # Regenerate ToCs and check that they didn't change |
171 | 159 | set -eu |
172 | 160 |
|
@@ -203,10 +191,6 @@ jobs: |
203 | 191 | fetch-depth: 0 |
204 | 192 | ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} |
205 | 193 | script: | |
206 | | - # The generic Linux job chooses to use base env, not the one setup by the image |
207 | | - CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") |
208 | | - conda activate "${CONDA_ENV}" |
209 | | -
|
210 | 194 | # Test tools |
211 | 195 | PYTHONPATH=$(pwd) pytest tools/stats |
212 | 196 | PYTHONPATH=$(pwd) pytest tools/test -o "python_files=test*.py" |
|
0 commit comments