Skip to content

Bump pytest from 8.2.1 to 8.2.2 #1223

Bump pytest from 8.2.1 to 8.2.2

Bump pytest from 8.2.1 to 8.2.2 #1223

Workflow file for this run

# Copyright (C) 2020, 2021, 2022, 2023 Serghei Iakovlev <egrep@protonmail.ch>
#
# This file is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
#
# This file is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this file. If not, see <https://www.gnu.org/licenses/>.
name: CI
on:
push:
branches-ignore:
# These should always correspond to pull requests, so ignore them for
# the push trigger and let them be triggered by the pull_request
# trigger, avoiding running the workflow twice. This is a minor
# optimization so there's no need to ensure this is comprehensive.
- 'dependabot/**'
pull_request:
branches:
- main
env:
PYTHONUNBUFFERED: '1'
defaults:
run:
shell: bash
jobs:
test:
name: Python ${{ matrix.python }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
# The maximum number of minutes to let a workflow run
# before GitHub automatically cancels it. Default: 360
timeout-minutes: 30
strategy:
# When set to true, GitHub cancels
# all in-progress jobs if any matrix job fails.
fail-fast: false
matrix:
python:
- '3.9'
- '3.10'
- '3.11'
os:
- ubuntu-latest
- macos-latest
- windows-latest
include:
- python: '3.8'
os: ubuntu-latest
- python: '3.8'
os: macos-latest
- python: 'pypy-3.8'
os: ubuntu-latest
- python: 'pypy-3.8'
os: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 5
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ matrix.python }}
- name: Makefile selftest
run: make help
- name: Install virtualenv
if: matrix.os == 'windows-latest'
run: |
python -m pip install --upgrade pip
python -m pip install virtualenv
- name: Set up virtualenv
run: make init
- name: Install dependencies
run: make install
- name: Setuptools self-test
run: |
python setup.py --fullname
python setup.py --long-description
python setup.py --classifiers
- name: Run unit tests with coverage
run: make test
- name: Combine coverage reports
run: make ccov
- uses: codecov/codecov-action@v4.5.0
if: success()
with:
fail_ci_if_error: false
verbose: true
name: codecov-umbrella
flags: unittests
env_vars: OS,PYTHON
- name: Success Reporting
if: success()
run: git log --format=fuller -5