Only build VSIX #1827
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR/CI Check | |
on: | |
pull_request: | |
push: | |
branches-ignore: | |
- main | |
- release* | |
env: | |
NODE_VERSION: 16.17.1 | |
PYTHON_VERSION: '3.10' # YML treats 3.10 the number as 3.1, so quotes around 3.10 | |
MOCHA_REPORTER_JUNIT: true # Use the mocha-multi-reporters and send output to both console (spec) and JUnit (mocha-junit-reporter). Also enables a reporter which exits the process running the tests if it haven't already. | |
ARTIFACT_NAME_VSIX: ms-python-insiders-vsix | |
VSIX_NAME: ms-python-insiders.vsix | |
TEST_RESULTS_DIRECTORY: . | |
# Force a path with spaces and to test extension works in these scenarios | |
# Unicode characters are causing 2.7 failures so skip that for now. | |
special-working-directory: './path with spaces' | |
special-working-directory-relative: 'path with spaces' | |
jobs: | |
build-vsix: | |
name: Create VSIX | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build VSIX | |
uses: ./.github/actions/build-vsix | |
with: | |
node_version: ${{ env.NODE_VERSION}} | |
vsix_name: ${{ env.VSIX_NAME }} | |
artifact_name: ${{ env.ARTIFACT_NAME_VSIX }} | |