Skip to content

chore(deps): update all non-major dependencies #981

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #981

Workflow file for this run

name: Python Unit CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
test:
strategy:
matrix:
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
platform: [ubuntu-latest, macos-latest, windows-latest]
# Python <= 3.9 is not available on macos-14
# Workaround for https://github.com/actions/setup-python/issues/696
exclude:
- platform: macos-latest
python: '3.9'
- platform: macos-latest
python: '3.8'
- platform: macos-latest
python: '3.7'
include:
- platform: macos-latest
python: '3.9'
- platform: macos-13
python: '3.8'
- platform: macos-13
python: '3.7'
runs-on: ${{ matrix.platform }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
auth.docker.io:443
files.pythonhosted.org:443
github.com:443
production.cloudflare.docker.com:443
pypi.org:443
registry-1.docker.io:443
- name: Checkout
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Use Python ${{ matrix.python }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: ${{ matrix.python }}
- name: Install tox
run: python -m pip install tox
- name: Test
run: python -m tox -e py-${{ matrix.platform }}