Skip to content

Bump cryptography from 41.0.1 to 42.0.4 #897

Bump cryptography from 41.0.1 to 42.0.4

Bump cryptography from 41.0.1 to 42.0.4 #897

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@v3
- uses: ./.github/actions/prepare_poetry_env
- 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 deactivated"
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 }}')"