Skip to content

Commit

Permalink
No DS merge into main (microsoft#14447)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanMatthewHuff authored Oct 24, 2020
1 parent 37ae522 commit f02fce4
Show file tree
Hide file tree
Showing 894 changed files with 16,844 additions and 176,238 deletions.
568 changes: 30 additions & 538 deletions .eslintignore

Large diffs are not rendered by default.

49 changes: 0 additions & 49 deletions .github/ISSUE_TEMPLATE/1_ds_bug_report.md

This file was deleted.

18 changes: 0 additions & 18 deletions .github/ISSUE_TEMPLATE/3_ds_feature_request.md

This file was deleted.

256 changes: 0 additions & 256 deletions .github/test_plan.md

Large diffs are not rendered by default.

71 changes: 28 additions & 43 deletions .github/workflows/insiders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,6 @@ jobs:
- name: Install test requirements
run: python -m pip install --upgrade -r build/test-requirements.txt

- name: pip install ipython requirements
run: |
python -m pip install numpy
python -m pip install --upgrade -r ./build/ipython-test-requirements.txt
if: matrix.test-suite == 'python-unit'

- name: Install debugpy wheels (python 3.8)
run: |
python -m pip install wheel
Expand Down Expand Up @@ -306,11 +300,10 @@ jobs:
retention-days: 1
if: matrix.test-suite == 'ts-unit' && startsWith(matrix.python, 3.)

# Run the Python and IPython tests in our codebase.
- name: Run Python and IPython unit tests
# Run the Python tests in our codebase.
- name: Run Python unit tests
run: |
python pythonFiles/tests/run_all.py
python -m IPython pythonFiles/tests/run_all.py
if: matrix.test-suite == 'python-unit'

# The virtual environment based tests use the `testSingleWorkspace` set of tests
Expand Down Expand Up @@ -405,15 +398,6 @@ jobs:
python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir --implementation py --no-deps --upgrade --pre debugpy
shell: bash

- name: pip install ipython requirements
run: |
python -m pip install numpy
python -m pip install --upgrade -r ./build/ipython-test-requirements.txt
- name: pip install jupyter
run: |
python -m pip install --upgrade jupyter
# Save time by reusing bits from the VSIX.
- name: Download VSIX
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -480,28 +464,29 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/cobertura-coverage.xml

upload:
name: Upload VSIX to Azure Blob Storage
runs-on: ubuntu-latest
if: github.repository == 'microsoft/vscode-python'
needs: [tests, smoke-tests, build-vsix]
env:
BLOB_CONTAINER_NAME: extension-builds
BLOB_NAME: ms-python-insiders.vsix

steps:
- name: Download VSIX
uses: actions/download-artifact@v2
with:
name: ${{ env.ARTIFACT_NAME_VSIX }}

- name: Azure Login
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Upload to Blob Storage
run: az storage blob upload --file ${{ env.VSIX_NAME }} --account-name pvsc --container-name ${{ env.BLOB_CONTAINER_NAME }} --name ${{ env.BLOB_NAME }} --auth-mode login

- name: Get URL to uploaded VSIX
run: az storage blob url --account-name pvsc --container-name ${{ env.BLOB_CONTAINER_NAME }} --name ${{ env.BLOB_NAME }} --auth-mode login
# Re-enable when the Jupyter extension is available
# upload:
# name: Upload VSIX to Azure Blob Storage
# runs-on: ubuntu-latest
# if: github.repository == 'microsoft/vscode-python'
# needs: [tests, smoke-tests, build-vsix]
# env:
# BLOB_CONTAINER_NAME: extension-builds
# BLOB_NAME: ms-python-insiders.vsix

# steps:
# - name: Download VSIX
# uses: actions/download-artifact@v2
# with:
# name: ${{ env.ARTIFACT_NAME_VSIX }}

# - name: Azure Login
# uses: azure/login@v1
# with:
# creds: ${{ secrets.AZURE_CREDENTIALS }}

# - name: Upload to Blob Storage
# run: az storage blob upload --file ${{ env.VSIX_NAME }} --account-name pvsc --container-name ${{ env.BLOB_CONTAINER_NAME }} --name ${{ env.BLOB_NAME }} --auth-mode login

# - name: Get URL to uploaded VSIX
# run: az storage blob url --account-name pvsc --container-name ${{ env.BLOB_CONTAINER_NAME }} --name ${{ env.BLOB_NAME }} --auth-mode login
Loading

0 comments on commit f02fce4

Please sign in to comment.