fix: guard sort() with shuffle check so --shuffle is not silently ignored #7056
Workflow file for this run
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
| on: | |
| push: | |
| branches: | |
| - 4.x | |
| pull_request: | |
| branches: | |
| - '**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-22.04 | |
| name: Check Tests | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: testomatio/check-tests@stable | |
| if: github.repository == 'codeceptjs/CodeceptJS' && github.event.pull_request.title == '4.x' | |
| with: | |
| framework: mocha | |
| tests: "./test/**/*_test.js" | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| has-tests-label: true | |
| comment-on-empty: true | |
| github-pat: ${{ secrets.GH_PAT }} | |
| enable-documentation: true | |
| documentation-branch: "master" |