[Flake e2e (2)] [FAIL] Starting CatalogSource e2e tests when A catalogSource is created with correct polling interval [BeforeEach] registry polls on the correct interval #5417
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: unit | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| workflow_dispatch: | |
| merge_group: | |
| issue_comment: | |
| types: [created] # Triggers the workflow when a comment is created. see `if` section | |
| jobs: | |
| unit: | |
| if: >- | |
| github.event_name != 'issue_comment' || startsWith(github.event.comment.body, '/retest unit') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: "go.mod" | |
| - name: Run unit tests | |
| run: make unit |