Repository navigation
Stop session stack pollution on repeated teardown starts #1664
This file contains hidden or 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: Minimal Sharding Test | |
| on: | |
| push: | |
| branches: | |
| - '4.x' | |
| pull_request: | |
| branches: | |
| - '**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CI: true | |
| FORCE_COLOR: 1 | |
| jobs: | |
| test-sharding: | |
| runs-on: ubuntu-latest | |
| name: 'Shard ${{ matrix.shard }}' | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| shard: ['1/2', '2/2'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - name: Install dependencies | |
| run: npm install --ignore-scripts | |
| - name: Run tests with sharding | |
| run: npx codeceptjs run --config ./codecept.js --shard ${{ matrix.shard }} | |
| working-directory: test/data/sandbox |