Skip to content

Commit

Permalink
test: debugging windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Mar 22, 2024
1 parent a127059 commit 1faf4ab
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,40 @@ on:
jobs:
yarn-lockfile-check:
uses: salesforcecli/github-workflows/.github/workflows/lockFileCheck.yml@main
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
sf-integration-tests:
needs: linux-unit-tests
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install sf
uses: salesforcecli/github-workflows/.github/actions/retry@main
with:
max_attempts: 3
retry_wait_seconds: 60
command: npm install -g @salesforce/cli@nightly --omit=dev
timeout_minutes: 60
- uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main
- run: yarn build
- name: Run tests
run: yarn test:integration:sf
# 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
# sf-integration-tests:
# needs: linux-unit-tests
# strategy:
# matrix:
# os: [ubuntu-latest, windows-latest]
# runs-on: ${{matrix.os}}
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: lts/*
# - name: Install sf
# uses: salesforcecli/github-workflows/.github/actions/retry@main
# with:
# max_attempts: 3
# retry_wait_seconds: 60
# command: npm install -g @salesforce/cli@nightly --omit=dev
# timeout_minutes: 60
# - uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main
# - run: yarn build
# - name: Run tests
# run: yarn test:integration:sf

integration-tests:
needs: linux-unit-tests
# needs: linux-unit-tests
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [windows-latest]
test: ['test:integration:install', 'test:integration:link']
exclude:
- os: windows-latest
Expand Down

0 comments on commit 1faf4ab

Please sign in to comment.