Skip to content

cdc lay advice strings #22

cdc lay advice strings

cdc lay advice strings #22

name: Run Pytest on pushes to main branches or PRs to any branch
on:
pull_request:
branches:
- "*"
push:
branches:
- development
- staging
- live
jobs:
deploy:
runs-on: ubuntu-latest
# Runs tests on multiple python versions across the range we support
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4 # latest as at March 2024
- name: Set up Python version ${{ matrix.python-version }}
uses: actions/setup-python@v5 # latest as at March 2024
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
pip install -r requirements.txt
- name: Run pytest
run: |
pytest