Bump luigi from 3.5.2 to 3.6.0 #1040
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: Test DB Versions with all tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
get_exasol_versions: | |
uses: ./.github/workflows/get_exasol_versions.yml | |
test-db-versions-all-tests: | |
needs: get_exasol_versions | |
strategy: | |
fail-fast: false | |
matrix: | |
exasol_version: ${{fromJson(needs.get_exasol_versions.outputs.matrix)}} | |
runs-on: ubuntu-latest | |
name: Run all tests for Exasol ${{ matrix.exasol_version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python & Poetry Environment | |
uses: exasol/python-toolbox/.github/actions/[email protected] | |
with: | |
python-version: "3.10" | |
poetry-version: '1.8.2' | |
- name: Fail, because not all tests are activated | |
run: | | |
git fetch | |
GIT_LOG="$(git log --pretty=oneline --abbrev-commit ${{ github.event.after }} | head -n 1)" | |
echo "$GIT_LOG" | |
if [[ "$GIT_LOG" == *"[run all tests]"* ]]; then | |
echo "All tests activated" | |
exit 0 | |
else | |
echo "Fail, because not all tests are activated" | |
exit 1 | |
fi | |
env: | |
EXASOL_VERSION: "${{ matrix.exasol_version }}" | |
# We want to deactivate running all tests only for pull_requests | |
if: ${{ github.event_name == 'pull_request' }} | |
- name: Run all tests | |
run: poetry run nox -s "run-tests(db_version='${{ matrix.exasol_version }}')" |