Skip to content

ci: run tests on pull requests from forks #141

ci: run tests on pull requests from forks

ci: run tests on pull requests from forks #141

Workflow file for this run

name: tests
on:
push:
branches-ignore: [main]
workflow_dispatch:
pull_request:
env:
UT_DISABLE_NODE_CURRENT: true
NODE_VERSION_OVERRIDE: [lts/-1, lts/*]

Check failure on line 10 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / tests

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 10, Col: 26): A sequence was not expected
jobs:
yarn-lockfile-check:
uses: salesforcecli/github-workflows/.github/workflows/lockFileCheck.yml@main
# Since the Windows unit tests take much longer, we run the linux unit tests first and then run the windows unit tests in parallel with NUTs
linux-unit-tests:
needs: yarn-lockfile-check
uses: salesforcecli/github-workflows/.github/workflows/unitTestsLinux.yml@main
windows-unit-tests:
needs: linux-unit-tests
uses: salesforcecli/github-workflows/.github/workflows/unitTestsWindows.yml@main
nuts:
needs: linux-unit-tests
uses: salesforcecli/github-workflows/.github/workflows/nut.yml@main
secrets: inherit
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
fail-fast: false
with:
os: ${{ matrix.os }}