Skip to content

Actions(deps): Bump actions/upload-artifact from 4.3.4 to 4.3.5 #1314

Actions(deps): Bump actions/upload-artifact from 4.3.4 to 4.3.5

Actions(deps): Bump actions/upload-artifact from 4.3.4 to 4.3.5 #1314

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Python 3.8
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
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