add env variable in git workflow to skip windows-pnpm tests #129
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E tests | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
run-e2e: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
name: Run E2E tests on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
env: | |
# TODO: remove this once the pnpm Windows bug is fixed | |
IS_WINDOWS: ${{ matrix.os == 'windows-latest' }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- name: Run fixture-projects script | |
run: | | |
cd e2e | |
chmod +x run-fixture-projects.sh | |
./run-fixture-projects.sh | |
shell: bash | |
- name: Run test-project-initialization script | |
run: | | |
cd e2e | |
chmod +x test-project-initialization.sh | |
./test-project-initialization.sh | |
shell: bash |