Skip to content

gentoo.py: Unlock >=app-emulation/cloud-init-23.4 with Python 3.12 #1244

gentoo.py: Unlock >=app-emulation/cloud-init-23.4 with Python 3.12

gentoo.py: Unlock >=app-emulation/cloud-init-23.4 with Python 3.12 #1244

Workflow file for this run

name: Run the test suite
on:
pull_request:
push:
schedule:
- cron: '0 16 * * 5' # Every Friday 4pm
jobs:
install_and_run:
name: Run the test suite
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Set up Python 3.8
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: 3.8
- name: Install test dependencies
run: |-
python3 -m venv venv/
source venv/bin/activate
pip3 install \
--disable-pip-version-check \
--no-warn-script-location \
-r requirements.txt
pip3 check
# Ensure that even indirect dependencies are fully pinned
diff -u0 \
<(sed -e '/^#/d' -e '/^$/d' requirements.txt | sort -f) \
<(pip3 freeze | sort -f)
- name: Smoke test creation of Ubuntu OpenStack images
run: |-
source venv/bin/activate
pytest -v --doctest-modules