Skip to content

Commit

Permalink
Nightly should only run coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig committed Mar 25, 2021
1 parent f356418 commit 865d154
Showing 1 changed file with 1 addition and 74 deletions.
75 changes: 1 addition & 74 deletions .github/workflows/nightly-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,81 +14,8 @@ env:
TEST_RESULTS_DIRECTORY: .

jobs:
build-vsix:
name: Build VSIX
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install Node
uses: actions/setup-node@v2.1.5
with:
node-version: ${{env.NODE_VERSION}}

- name: Use Python ${{env.PYTHON_VERSION}}
uses: actions/setup-python@v2
with:
python-version: ${{env.PYTHON_VERSION}}

- name: Upgrade pip
run: python -m pip install -U pip

- name: Build VSIX
uses: ./.github/actions/build-vsix
id: build-vsix

- name: Rename VSIX
if: steps.build-vsix.outputs.path != env.VSIX_NAME
run: mv ${{ steps.build-vsix.outputs.path }} ${{ env.VSIX_NAME }}

- uses: actions/upload-artifact@v2
with:
name: ${{env.ARTIFACT_NAME_VSIX}}
path: ${{env.VSIX_NAME}}
retention-days: 7

lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install Node
uses: actions/setup-node@v2.1.5
with:
node-version: ${{env.NODE_VERSION}}

- name: Install dependencies (npm ci)
run: npm ci --prefer-offline

- name: Run gulp prePublishNonBundle
run: npx gulp prePublishNonBundle

- name: Check dependencies
run: npm run checkDependencies

- name: Run linting on TypeScript code
run: npm run lint

- name: Run formatting on TypeScript code
run: npm run format-check

- name: Use Python ${{env.PYTHON_VERSION}}
uses: actions/setup-python@v2
with:
python-version: ${{env.PYTHON_VERSION}}

- name: Run Black on Python code
run: |
python -m pip install -U black
python -m black . --check
working-directory: pythonFiles

### Non-smoke tests
tests:
name: Tests
name: Tests with Coverage
# The value of runs-on is the OS of the current job (specified in the strategy matrix below) instead of being hardcoded.
runs-on: ${{ matrix.os }}
env:
Expand Down

0 comments on commit 865d154

Please sign in to comment.