diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 05b2c1d49ef50..0cd822e65f8dc 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -50,6 +50,29 @@ env: PYTHON_VERSION_CURRENT: 3.11 jobs: + latest-tag-sha: + runs-on: ubuntu-24.04 + outputs: + sha: ${{ steps.get-tag.outputs.sha }} + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - id: git-log + run: git log HEAD~30..HEAD + - id: get-tag-test + run: echo "$SHA $(git rev-list -n 1 "$(git tag --contains "$SHA")")" + env: + SHA: ${{ github.sha }} + - id: get-tag + run: echo "sha=$(git rev-list -n 1 "$(git tag --contains "$SHA")")" >> "$GITHUB_OUTPUT" + env: + SHA: ${{ github.sha }} + - id: get-tag-out + run: echo "$OUT" + env: + OUT: ${{ steps.get-tag.outputs.sha }} + unit: runs-on: ubuntu-24.04 timeout-minutes: 60 @@ -505,7 +528,7 @@ jobs: - name: Combine all fixed LCOV files run: | echo "" > ./combined-integration-${{ matrix.db }}-${{ matrix.use_tesseract_sql_planner }}.lcov - find ./packages -type f -name lcov.fixed.info -exec cat {} + >> ./combined-integration-${{ matrix.db }}.lcov || true + find ./packages -type f -name lcov.fixed.info -exec cat {} + >> ./combined-integration-${{ matrix.db }}-${{ matrix.use_tesseract_sql_planner }}.lcov || true - name: Upload coverage artifact uses: actions/upload-artifact@v4 with: @@ -598,29 +621,6 @@ jobs: env: GITHUB_SHA: ${{ github.sha }} - latest-tag-sha: - runs-on: ubuntu-24.04 - outputs: - sha: ${{ steps.get-tag.outputs.sha }} - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - id: git-log - run: git log HEAD~30..HEAD - - id: get-tag-test - run: echo "$SHA $(git rev-list -n 1 "$(git tag --contains "$SHA")")" - env: - SHA: ${{ github.sha }} - - id: get-tag - run: echo "sha=$(git rev-list -n 1 "$(git tag --contains "$SHA")")" >> "$GITHUB_OUTPUT" - env: - SHA: ${{ github.sha }} - - id: get-tag-out - run: echo "$OUT" - env: - OUT: ${{ steps.get-tag.outputs.sha }} - docker-dev: needs: [latest-tag-sha, build-native-linux] if: (needs['latest-tag-sha'].outputs.sha != github.sha)