Skip to content

depr: Disable pickle deserialization by default for security #142

depr: Disable pickle deserialization by default for security

depr: Disable pickle deserialization by default for security #142

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/tutorials/build-and-test-code/python
name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
- public-main
- feature/**
permissions:
contents: read
jobs:
unit-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install tox
- name: Run unit tests
shell: bash
run: |
export TMPDIR=${{ runner.temp }}
export TEMP=${{ runner.temp }}
export TMP=${{ runner.temp }}
tox -e unit-tests
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
if: ${{ strategy.job-index == 0 }}