requirements(deps): bump charset-normalizer from 3.2.0 to 3.3.0 #2540
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 | |
on: | |
- pull_request | |
- push | |
jobs: | |
build_and_test: | |
name: Build and test using Docker | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0 | |
with: | |
python-version: 3.11 | |
- name: Install dependencies | |
run: |- | |
pip install \ | |
--disable-pip-version-check \ | |
--user \ | |
--no-warn-script-location \ | |
'PyYAML==5.3.1' \ | |
'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 |