|
50 | 50 | PYTHON_VERSION_CURRENT: 3.11 |
51 | 51 |
|
52 | 52 | jobs: |
| 53 | + latest-tag-sha: |
| 54 | + runs-on: ubuntu-24.04 |
| 55 | + outputs: |
| 56 | + sha: ${{ steps.get-tag.outputs.sha }} |
| 57 | + steps: |
| 58 | + - uses: actions/checkout@v4 |
| 59 | + with: |
| 60 | + fetch-depth: 0 |
| 61 | + - id: git-log |
| 62 | + run: git log HEAD~30..HEAD |
| 63 | + - id: get-tag-test |
| 64 | + run: echo "$SHA $(git rev-list -n 1 "$(git tag --contains "$SHA")")" |
| 65 | + env: |
| 66 | + SHA: ${{ github.sha }} |
| 67 | + - id: get-tag |
| 68 | + run: echo "sha=$(git rev-list -n 1 "$(git tag --contains "$SHA")")" >> "$GITHUB_OUTPUT" |
| 69 | + env: |
| 70 | + SHA: ${{ github.sha }} |
| 71 | + - id: get-tag-out |
| 72 | + run: echo "$OUT" |
| 73 | + env: |
| 74 | + OUT: ${{ steps.get-tag.outputs.sha }} |
| 75 | + |
53 | 76 | unit: |
54 | 77 | runs-on: ubuntu-24.04 |
55 | 78 | timeout-minutes: 60 |
@@ -505,7 +528,7 @@ jobs: |
505 | 528 | - name: Combine all fixed LCOV files |
506 | 529 | run: | |
507 | 530 | echo "" > ./combined-integration-${{ matrix.db }}-${{ matrix.use_tesseract_sql_planner }}.lcov |
508 | | - find ./packages -type f -name lcov.fixed.info -exec cat {} + >> ./combined-integration-${{ matrix.db }}.lcov || true |
| 531 | + find ./packages -type f -name lcov.fixed.info -exec cat {} + >> ./combined-integration-${{ matrix.db }}-${{ matrix.use_tesseract_sql_planner }}.lcov || true |
509 | 532 | - name: Upload coverage artifact |
510 | 533 | uses: actions/upload-artifact@v4 |
511 | 534 | with: |
@@ -598,29 +621,6 @@ jobs: |
598 | 621 | env: |
599 | 622 | GITHUB_SHA: ${{ github.sha }} |
600 | 623 |
|
601 | | - latest-tag-sha: |
602 | | - runs-on: ubuntu-24.04 |
603 | | - outputs: |
604 | | - sha: ${{ steps.get-tag.outputs.sha }} |
605 | | - steps: |
606 | | - - uses: actions/checkout@v4 |
607 | | - with: |
608 | | - fetch-depth: 0 |
609 | | - - id: git-log |
610 | | - run: git log HEAD~30..HEAD |
611 | | - - id: get-tag-test |
612 | | - run: echo "$SHA $(git rev-list -n 1 "$(git tag --contains "$SHA")")" |
613 | | - env: |
614 | | - SHA: ${{ github.sha }} |
615 | | - - id: get-tag |
616 | | - run: echo "sha=$(git rev-list -n 1 "$(git tag --contains "$SHA")")" >> "$GITHUB_OUTPUT" |
617 | | - env: |
618 | | - SHA: ${{ github.sha }} |
619 | | - - id: get-tag-out |
620 | | - run: echo "$OUT" |
621 | | - env: |
622 | | - OUT: ${{ steps.get-tag.outputs.sha }} |
623 | | - |
624 | 624 | docker-dev: |
625 | 625 | needs: [latest-tag-sha, build-native-linux] |
626 | 626 | if: (needs['latest-tag-sha'].outputs.sha != github.sha) |
|
0 commit comments