Skip to content

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

chore(deps): update all non-major dependencies

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

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@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- 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 }}