Add connector to matrix name #1
Workflow file for this run
This file contains 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: Slow-Checks | ||
on: | ||
workflow_call: | ||
secrets: | ||
ALTERNATIVE_GITHUB_TOKEN: | ||
required: false | ||
jobs: | ||
build-matrix: | ||
name: Generate Build Matrix | ||
uses: ./.github/workflows/matrix-all.yml | ||
Tests: | ||
name: Integration-Tests (Connector: ${{matrix.connector}}, Python-${{ matrix.python-version }}, Exasol-${{ matrix.exasol-version}}) | ||
needs: [ build-matrix ] | ||
runs-on: ubuntu-latest | ||
# Even though the environment "manual-approval" will be created automatically, | ||
# it still needs to be configured to require interactive review. | ||
# See project settings on GitHub (Settings / Environments / manual-approval). | ||
environment: manual-approval | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.ALTERNATIVE_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} | ||
strategy: | ||
fail-fast: false | ||
matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }} | ||
steps: | ||
- name: SCM Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Python & Poetry Environment | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Run Tests and Collect Coverage | ||
run: poetry run nox -s test:integration -- -- --coverage --db-version ${{ matrix.exasol-version }} | ||
- name: Upload Artifacts | ||
uses: actions/[email protected] | ||
with: | ||
name: coverage-python${{ matrix.python-version }}-slow | ||
path: .coverage | ||
include-hidden-files: true |