name: Run E2E tests on: pull_request: push: branches: - main jobs: test: name: Run E2E tests runs-on: "${{ matrix.os }}" strategy: matrix: version: ["1.90.0", "stable", "insiders"] os: [ubuntu-latest] include: - version: "stable" os: "windows-latest" steps: - run: sudo apt update && sudo apt install -y libasound2t64 libgbm1 libgtk-3-0 libnss3 xvfb expect if: runner.os == 'Linux' - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: cache: "npm" - run: npm install - run: echo 'APOLLO_KEY="service:bob-123:489fhseo4"' > ./sampleWorkspace/spotifyGraph/.env shell: bash - name: Install & Configure Rover (Linux) run: | expect < jest.config.ts shell: bash if: runner.os == 'Windows' - run: npm run build:production - name: "Run Extension E2E tests (Linux)" run: xvfb-run -a npm run test:extension env: VSCODE_VERSION: "${{ matrix.version }}" if: runner.os == 'Linux' - name: "Run Extension E2E tests (Windows)" run: npm run test:extension env: VSCODE_VERSION: "${{ matrix.version }}" if: runner.os == 'Windows'