Skip to content

Bump requests to fix CVE-2024-35195 #93

Bump requests to fix CVE-2024-35195

Bump requests to fix CVE-2024-35195 #93

---
# yamllint disable rule:line-length
name: Integration tests
# yamllint disable-line rule:truthy
on:
push:
paths:
- '**.py'
- .github/workflows/integration-tests.yml
- github_action_scripts/docker_db_setup.sh
- github_action_scripts/install_wkhtmltopdf.sh
- github_action_scripts/integration_tests.sh
- github_action_scripts/python_setup.sh
jobs:
run-integration-tests:
runs-on: ubuntu-latest
strategy:
matrix:
# add "postgres" when supported
engine: ["mysql", "sqlserver"]
include:
- engine: mysql
port: 3306
- engine: sqlserver
port: 1433
# - engine: postgres
# port: 5432
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install wkhtmltopdf
run: |
set -euxo pipefail
${GITHUB_WORKSPACE}/github_action_scripts/install_wkhtmltopdf.sh
- name: Run integration tests
run: |
set -euxo pipefail
${GITHUB_WORKSPACE}/github_action_scripts/python_setup.sh
${GITHUB_WORKSPACE}/github_action_scripts/docker_db_setup.sh ${{ matrix.engine }} ${{ matrix.port }}
${GITHUB_WORKSPACE}/github_action_scripts/integration_tests.sh ${{ matrix.engine }}