Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify production tests #8075

Merged
merged 1 commit into from Apr 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
42 changes: 2 additions & 40 deletions .github/workflows/prod-test.yml
Expand Up @@ -124,48 +124,10 @@ jobs:
if: matrix.os != 'macos-latest'
run: yarn test:dist --maxWorkers=2

standalone:
strategy:
fail-fast: false
matrix:
os:
- "ubuntu-latest"
- "macos-latest"
- "windows-latest"
node:
- "13"
- "12"
- "10"
exclude:
- os: "macos-latest"
node: "13"
name: Node.js ${{ matrix.node }} on ${{ matrix.os }} (standalone)
runs-on: ${{ matrix.os }}
needs: [build]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}

- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Download Artifact
uses: actions/download-artifact@v1
with:
name: dist
path: dist

- name: Run Tests (macOS)
- name: Run Tests (standalone) (macOS)
if: matrix.os == 'macos-latest'
run: yarn test:dist-standalone --maxWorkers=4

- name: Run Tests (Linux and Windows)
- name: Run Tests (standalone) (Linux and Windows)
if: matrix.os != 'macos-latest'
run: yarn test:dist-standalone --maxWorkers=2