diff --git a/.github/actions/upload-report-shard/action.yaml b/.github/actions/upload-report-shard/action.yaml index c2f542dd3..a573e5786 100644 --- a/.github/actions/upload-report-shard/action.yaml +++ b/.github/actions/upload-report-shard/action.yaml @@ -5,7 +5,9 @@ runs: steps: - name: Set report name shell: bash - run: echo "REPORT_NAME=report-${{ github.job }-${{ matrix.shard }}.zip" >> $GITHUB_ENV + run: echo "REPORT_NAME=(echo $TEMP_REPORT_NAME)" >> $GITHUB_ENV + env: + TEMP_REPORT_NAME: report-${{ github.job }-${{ matrix.shard }}.zip - name: Rename report shell: bash run: mv report.zip $REPORT_NAME diff --git a/.github/workflows/test-1.yaml b/.github/workflows/test-1.yaml new file mode 100644 index 000000000..985752e69 --- /dev/null +++ b/.github/workflows/test-1.yaml @@ -0,0 +1,25 @@ +name: Test 1 + +on: [push] + +permissions: + issues: write + pull-requests: write + +env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + +jobs: + coverage: + runs-on: ubuntu-latest + strategy: + matrix: + shard: [1] + steps: + - uses: actions/checkout@v3 + - name: Download and install dependencies + uses: ./.github/actions/setup + - run: touch report.zip + - name: Upload report shard + uses: ./.github/actions/upload-report-shard + if: always() diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 27f280c87..e02cfffd8 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,6 +1,6 @@ name: Test -on: [push] +on: [] permissions: issues: write