WIP: Push multiple branches in the stack atomically: it's faster, plus possibly improves CODEOWNERS processing by GitHub #149
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: "CI Run" | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - grok/*/* | |
| push: | |
| branches: | |
| - main | |
| env: | |
| GIT_GROK_TEST_GH_TOKEN: ${{ secrets.GIT_GROK_TEST_GH_TOKEN }} | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.8", "3.11"] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Test | |
| run: bash tests/run.sh |