Skip to content

Update tox requirement from ~=4.11.0 to >=4.11,<4.22 #13

Update tox requirement from ~=4.11.0 to >=4.11,<4.22

Update tox requirement from ~=4.11.0 to >=4.11,<4.22 #13

Workflow file for this run

# πŸƒβ€β™€οΈ 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