Skip to content

Actions(deps): Bump actions/checkout from 4.1.7 to 4.2.0 #1384

Actions(deps): Bump actions/checkout from 4.1.7 to 4.2.0

Actions(deps): Bump actions/checkout from 4.1.7 to 4.2.0 #1384

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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Set up Python 3.8
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.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