chore: set failing configuration on integ workflow matrix

This commit is contained in:
peterwoodworth
2023-06-19 18:25:03 -07:00
parent 6d193465ae
commit b98e10c776

View File

@@ -6,27 +6,29 @@ on:
#workflow_call:
jobs:
test:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
node: [14, 16, 18]
name: Run unit tests
runs-on: ${{ matrix.os }}
timeout-minutes: 5
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
- name: "Setup node"
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: "Install dependencies"
uses: bahmutov/npm-install@v1
- name: "Run tests"
run: npm run test --if-present
# test:
# strategy:
# fail-fast: false
# matrix:
# os: [windows-latest, ubuntu-latest, macos-latest]
# node: [14, 16, 18]
# name: Run unit tests
# runs-on: ${{ matrix.os }}
# timeout-minutes: 5
# steps:
# - name: "Checkout repository"
# uses: actions/checkout@v3
# - name: "Setup node"
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node }}
# - name: "Install dependencies"
# uses: bahmutov/npm-install@v1
# - name: "Run tests"
# run: npm run test --if-present
integ:
strategy:
fail-fast: false
matrix:
os: [[self-hosted, linux-fargate], [self-hosted, windows-fargate], windows-latest, ubuntu-latest, macos-latest]
node: [14, 16, 18]