Skip to content

updating authors and changelog #659

updating authors and changelog

updating authors and changelog #659

Workflow file for this run

name: CI
on:
push: { branches: [master, dev] }
pull_request: { branches: [master, dev] }
jobs:
build:
runs-on: ubuntu-latest
env:
DEFAULT_PYTHON: '3.12'
strategy:
matrix:
python-version: ['3.9','3.10','3.11','3.12','3.13']
architecture: ['x64']
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
cache: pip
cache-dependency-path: pyproject.toml
- name: Install nox
run: pip install nox==2025.5.1
- name: Upgrade setuptools & wheel (for all venvs)
run: pip install --upgrade setuptools wheel
- name: Lint with flake8
if: ${{ matrix.python-version == '3.12' }}
run: |
nox -s flake8 -- deepdiff --count --select=E9,F63,F7,F82 --show-source --statistics
nox -s flake8 -- deepdiff --count --exit-zero --max-complexity=26 --max-line-length=250 --statistics
- name: Test with pytest (no coverage)
if: ${{ matrix.python-version != '3.12' }}
run: |
nox -s pytest-${{ matrix.python-version }} -- --benchmark-disable tests/
- name: Test with pytest (+ coverage)
if: ${{ matrix.python-version == '3.12' }}
run: |
nox -s pytest-${{ matrix.python-version }} -- \
--benchmark-disable \
--cov-report=xml \
--cov=deepdiff \
tests/ --runslow
- name: Upload coverage
if: ${{ matrix.python-version == '3.12' }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml
env_vars: OS,PYTHON
fail_ci_if_error: true