#280: Updated Ubuntu version for int tests (#281) #766
This file contains hidden or 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: CI | |
on: | |
push: | |
jobs: | |
build-matrix: | |
name: Generate Build Matrix | |
uses: ./.github/workflows/matrix-python.yml | |
test-exaslct-alias-script: | |
needs: build-matrix | |
strategy: | |
fail-fast: false | |
matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }} | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python & Poetry Environment | |
uses: exasol/python-toolbox/.github/actions/[email protected] | |
with: | |
python-version: '${{ matrix.python_version }}' | |
poetry-version: '2.1.2' | |
- name: Test exaslct | |
run: poetry run exaslct --help | |
prep-testbed: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- id: set-matrix | |
run: | | |
ALL_TESTS=`bash ./scripts/test/get_all_tests.sh` | |
echo "matrix=$ALL_TESTS" >> "$GITHUB_OUTPUT" | |
outputs: | |
matrix: ${{ steps.set-matrix.outputs.matrix }} | |
test-all: | |
needs: prep-testbed | |
environment: ci_test | |
strategy: | |
fail-fast: false | |
matrix: | |
exasol_version: | |
- "default" | |
python_version: | |
- "3.10" | |
test-path: ${{fromJson(needs.prep-testbed.outputs.matrix)}} | |
runs-on: ubuntu-24.04 | |
name: ${{ matrix.test-path.name }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python & Poetry Environment | |
uses: exasol/python-toolbox/.github/actions/[email protected] | |
with: | |
python-version: '${{ matrix.python_version }}' | |
poetry-version: '2.1.2' | |
- name: Allow unprivileged user namespaces | |
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 | |
- name: Run all tests | |
run: ./scripts/test/run_test.sh ${{ matrix.test-path.path }} | |
env: # Set the secret as an input | |
DOCKER_USER: ${{ secrets.DOCKER_USER }} | |
DOCKER_PASSWD: ${{ secrets.DOCKER_PASSWD }} |