requirements(deps): bump ipython from 8.29.0 to 8.30.0 #3891
Workflow file for this run
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
# Copyright (C) 2021 Sebastian Pipping <[email protected]> | |
# Licensed under GNU Affero GPL v3 or later | |
name: Build and test using Docker | |
# Drop permissions to minimum, for security | |
permissions: | |
contents: read | |
on: | |
pull_request: | |
push: | |
schedule: | |
- cron: '0 16 * * 5' # Every Friday 4pm | |
workflow_dispatch: | |
jobs: | |
build_and_test: | |
name: Build and test using Docker | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
# NOTE: docker-compose breaks with Python >=3.13 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 | |
with: | |
python-version: 3.12 | |
- name: Install dependencies | |
run: |- | |
pip install \ | |
--disable-pip-version-check \ | |
--user \ | |
--no-warn-script-location \ | |
'docker<7' \ | |
'PyYAML==5.3.1' \ | |
'requests<2.32.0' \ | |
'urllib3<2' \ | |
docker-compose | |
echo "PATH=${HOME}/.local/bin:${PATH}" >> "${GITHUB_ENV}" | |
- name: Configure Docker environment | |
run: |- | |
docker network create --internal ssl-reverse-proxy | |
tee .env <<-EOF | |
WDN_POSTGRES_NAME=wdn111 | |
WDN_POSTGRES_USER=wdn222 | |
WDN_POSTGRES_PASSWORD=wdn333 | |
WDN_SECRET_KEY=wdn444 | |
EOF | |
- name: Build Docker image | |
run: |- | |
docker-compose build | |
- name: Run tests using Docker | |
run: |- | |
docker-compose run wnpp-debian-net test -v2 |