Skip to content

Commit

Permalink
Merge branch 'main' into more-pathlib-methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Nov 25, 2022
2 parents c678a4f + 8d16d90 commit 519640e
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 6 deletions.
38 changes: 37 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -2,14 +2,44 @@ name: tests

on: [push, pull_request]

env:
# Environment variables to support color support (jaraco/skeleton#66):
# Request colored output from CLI tools supporting it. Different tools
# interpret the value differently. For some, just being set is sufficient.
# For others, it must be a non-zero integer. For yet others, being set
# to a non-empty value is sufficient.
FORCE_COLOR: -106
# MyPy's color enforcement (must be a non-zero number)
MYPY_FORCE_COLOR: -42
# Recognized by the `py` package, dependency of `pytest` (must be "1")
PY_COLORS: 1
# Make tox-wrapped tools see color requests
TOX_TESTENV_PASSENV: >-
FORCE_COLOR
MYPY_FORCE_COLOR
NO_COLOR
PY_COLORS
PYTEST_THEME
PYTEST_THEME_MODE
# Suppress noisy pip warnings
PIP_DISABLE_PIP_VERSION_CHECK: 'true'
PIP_NO_PYTHON_VERSION_WARNING: 'true'
PIP_NO_WARN_SCRIPT_LOCATION: 'true'

# Disable the spinner, noise in GHA; TODO(webknjaz): Fix this upstream
# Must be "1".
TOX_PARALLEL_NO_SPINNER: 1


jobs:
test:
strategy:
matrix:
python:
- "3.7"
- "3.10"
- "3.11"
- "3.12"
# Workaround for actions/setup-python#508
dev:
- -dev
Expand All @@ -18,6 +48,12 @@ jobs:
- macos-latest
- windows-latest
include:
- python: "3.8"
platform: ubuntu-latest
- python: "3.9"
platform: ubuntu-latest
- python: "3.10"
platform: ubuntu-latest
- python: pypy3.9
platform: ubuntu-latest
runs-on: ${{ matrix.platform }}
Expand Down
File renamed without changes.
5 changes: 1 addition & 4 deletions README.rst
@@ -1,10 +1,7 @@
.. image:: https://img.shields.io/pypi/v/zipp.svg
:target: `PyPI link`_
:target: https://pypi.org/project/zipp

.. image:: https://img.shields.io/pypi/pyversions/zipp.svg
:target: `PyPI link`_

.. _PyPI link: https://pypi.org/project/zipp

.. image:: https://github.com/jaraco/zipp/workflows/tests/badge.svg
:target: https://github.com/jaraco/zipp/actions?query=workflow%3A%22tests%22
Expand Down
3 changes: 3 additions & 0 deletions mypy.ini
@@ -1,2 +1,5 @@
[mypy]
ignore_missing_imports = True
# required to support namespace packages
# https://github.com/python/mypy/issues/14057
explicit_package_bases = True
4 changes: 3 additions & 1 deletion setup.cfg
Expand Up @@ -30,7 +30,9 @@ testing =
# upstream
pytest >= 6
pytest-checkdocs >= 2.4
pytest-flake8
pytest-flake8; \
# workaround for tholo/pytest-flake8#87
python_version < "3.12"
# workaround for tholo/pytest-flake8#87
flake8 < 5
pytest-black >= 0.3.7; \
Expand Down

0 comments on commit 519640e

Please sign in to comment.