ci: Update ci-run-tests.yml

This commit is contained in:
Nicolas Giard 2025-01-16 16:21:42 -05:00 committed by GitHub
parent d1d33e7ad5
commit df27ba9934
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,34 @@ on:
- 'package.json' - 'package.json'
jobs: jobs:
# -----------------------------------------------------------------
# PREPARE
# -----------------------------------------------------------------
prepare:
name: Prepare
runs-on: ubuntu-latest
outputs:
base_image_version: ${{ steps.baseimgversion.outputs.base_image_version }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
fetch-tags: false
- name: Get Base Image Target Version
id: baseimgversion
run: |
echo "base_image_version=$(sed -n '1p' dev/build/TARGET_BASE)" >> $GITHUB_OUTPUT
# -----------------------------------------------------------------
# TESTS
# -----------------------------------------------------------------
tests: tests:
name: Run Tests
uses: ./.github/workflows/tests.yml uses: ./.github/workflows/tests.yml
needs: [prepare]
with: with:
ignoreLowerCoverage: false ignoreLowerCoverage: false
skipSelenium: true
targetBaseVersion: ${{ needs.prepare.outputs.base_image_version }}