Skip to content

#432: Fixed localhost ip address #1049

#432: Fixed localhost ip address

#432: Fixed localhost ip address #1049

name: Test DB Versions with all tests
on:
push:
branches:
- main
pull_request:
jobs:
get_exasol_versions:
uses: ./.github/workflows/get_exasol_versions.yml

Check failure on line 11 in .github/workflows/test_db_versions_all_tests.yml

View workflow run for this annotation

GitHub Actions / Test DB Versions with all tests

Invalid workflow file

The workflow is not valid. In .github/workflows/test_db_versions_all_tests.yml (Line: 11, Col: 11): Error from called workflow exasol/integration-test-docker-environment/.github/workflows/get_exasol_versions.yml@eeaadac248feb0204c6d49a86f6509ffdd55978d (Line: 25, Col: 9): Unexpected value 'outputs'
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:
- name: SCM Checkout
uses: actions/checkout@v4
- name: Allow Unprivileged User Namespaces
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
- 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 }}')"