Skip to content

requirements(deps): bump types-pyyaml from 6.0.12.11 to 6.0.12.12 #2525

requirements(deps): bump types-pyyaml from 6.0.12.11 to 6.0.12.12

requirements(deps): bump types-pyyaml from 6.0.12.11 to 6.0.12.12 #2525

# 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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.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