|
26 | 26 | build-vsix:
|
27 | 27 | name: Build VSIX
|
28 | 28 | runs-on: ubuntu-latest
|
29 |
| - if: github.repository == 'microsoft/vscode-python' |
30 | 29 | steps:
|
31 | 30 | - name: Checkout
|
32 | 31 | uses: actions/checkout@v2
|
|
61 | 60 | lint:
|
62 | 61 | name: Lint
|
63 | 62 | runs-on: ubuntu-latest
|
64 |
| - if: github.repository == 'microsoft/vscode-python' |
65 | 63 | steps:
|
66 | 64 | - name: Checkout
|
67 | 65 | uses: actions/checkout@v2
|
@@ -121,8 +119,8 @@ jobs:
|
121 | 119 | # macOS runners are expensive, and we assume that Ubuntu is enough to cover the Unix case.
|
122 | 120 | os: [ubuntu-latest, windows-latest]
|
123 | 121 | # Run the tests on the oldest and most recent versions of Python.
|
124 |
| - python: ['3.9'] |
125 |
| - test-suite: [ts-unit] |
| 122 | + python: ['2.7', '3.9'] |
| 123 | + test-suite: [ts-unit, python-unit, venv, single-workspace, debugger, functional] |
126 | 124 | exclude:
|
127 | 125 | # For fast PR turn-around, skip 2.7 under Windows.
|
128 | 126 | - os: windows-latest
|
@@ -324,13 +322,12 @@ jobs:
|
324 | 322 | name: Smoke tests
|
325 | 323 | # The value of runs-on is the OS of the current job (specified in the strategy matrix below) instead of being hardcoded.
|
326 | 324 | runs-on: ${{ matrix.os }}
|
327 |
| - if: github.repository == 'microsoft/vscode-python' |
328 | 325 | needs: [build-vsix]
|
329 | 326 | strategy:
|
330 | 327 | fail-fast: false
|
331 | 328 | matrix:
|
332 | 329 | # We're not running CI on macOS for now because it's one less matrix entry to lower the number of runners used,
|
333 |
| - # macOS runners are expensive, and we assume that Ubuntu is enough to cover the Unix case. |
| 330 | + # macOS runners are expensive, and we assume that Ubuntu is enough to cover the UNIX case. |
334 | 331 | os: [ubuntu-latest, windows-latest]
|
335 | 332 | # 3.8 is still required here so that jupyter can install.
|
336 | 333 | python: [3.8]
|
@@ -457,9 +454,8 @@ jobs:
|
457 | 454 | coverage:
|
458 | 455 | name: Coverage reports upload
|
459 | 456 | # Don't assume external contributors want to upload the coverage report.
|
460 |
| - runs-on: ubuntu-latest |
461 |
| - needs: [tests] |
462 | 457 | if: github.repository == 'microsoft/vscode-python'
|
| 458 | + runs-on: ubuntu-latest |
463 | 459 | needs: [tests, smoke-tests]
|
464 | 460 | defaults:
|
465 | 461 | run:
|
|
0 commit comments