Enforce stack info for cloud commands #8831
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: Test | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| defaults: | |
| run: | |
| shell: bash | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-prev: | |
| if: ${{ github.ref == 'refs/heads/master' }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| go-version: [1.25.x] | |
| platform: [ubuntu-24.04, ubuntu-24.04-arm, windows-latest] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Run common test steps | |
| uses: ./.github/actions/test-common | |
| with: | |
| go_version: ${{ matrix.go-version }} | |
| platform: ${{ matrix.platform }} | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Get the k6 version | |
| id: get_k6_version | |
| run: | | |
| echo "Running tests on '${GITHUB_REF}' with '$(git describe --tags --always --long --dirty)' checked out..." | |
| - name: Run tests | |
| uses: ./.github/actions/test | |
| with: | |
| platform: ${{ matrix.platform }} | |
| test-tip: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: [ubuntu-24.04, ubuntu-24.04-arm, windows-latest] | |
| runs-on: ${{ matrix.platform }} | |
| continue-on-error: true | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| persist-credentials: false | |
| - name: Run common test steps | |
| uses: ./.github/actions/test-common | |
| with: | |
| go_version: "gotip" | |
| platform: ${{ matrix.platform }} | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run tests | |
| uses: ./.github/actions/test | |
| with: | |
| use_gotip: "true" | |
| platform: ${{ matrix.platform }} | |
| test-latest: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| go-version: [1.26.x] | |
| platform: [ubuntu-24.04, ubuntu-24.04-arm, windows-latest] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| persist-credentials: false | |
| - name: Run common test steps | |
| uses: ./.github/actions/test-common | |
| with: | |
| go_version: ${{ matrix.go-version }} | |
| platform: ${{ matrix.platform }} | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run tests | |
| uses: ./.github/actions/test | |
| with: | |
| platform: ${{ matrix.platform }} |