Update tox requirement from ~=4.11.0 to >=4.11,<4.22 #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# πββοΈ Continuous Integration and Delivery: Branch Testing | |
# ====================================================== | |
--- | |
name: π Branch integration testing | |
# Driving Event | |
# ------------- | |
# | |
# What event starts this workflow: a push to any branch other than main | |
on: | |
push: | |
branches: | |
- '**' | |
- '!main' | |
# What to Do | |
# ---------- | |
# | |
# Test the software with tox | |
jobs: | |
branch-testing: | |
name: πͺ΅ Branch Testing | |
runs-on: ubuntu-latest | |
if: github.actor != 'pdsen-ci' | |
steps: | |
- | |
name: π³ Checkout | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
fetch-depth: 0 | |
token: ${{secrets.ADMIN_GITHUB_TOKEN || github.token}} | |
- | |
name: Set up Python 3 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- | |
name: π΅ Python Cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/pip | |
# The "key" used to indicate a set of cached files is the operating system runner | |
# plus "py" for Python-specific builds, plus a hash of the wheels, plus "pds" because | |
# we pds-prefix everything with "pds" in PDS! π | |
key: pds-${{runner.os}}-py-${{hashFiles('**/*.whl')}} | |
# To restore a set of files, we only need to match a prefix of the saved key. | |
restore-keys: pds-${{runner.os}}-py- | |
- | |
name: π©Ί Test Software | |
run: | |
pip install --editable '.[dev]' | |
tox | |
shell: bash |