Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 14, 2024
2 parents b244f59 + 34ba6b2 commit 9538358
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 9 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/main.yml
Expand Up @@ -4,8 +4,11 @@ on:
merge_group:
push:
branches-ignore:
# disabled for jaraco/skeleton#103
# - gh-readonly-queue/** # Temporary merge queue-related GH-made branches
# temporary GH branches relating to merge queues (jaraco/skeleton#93)
- gh-readonly-queue/**
tags:
# required if branches-ignore is supplied (jaraco/skeleton#103)
- '**'
pull_request:

permissions:
Expand All @@ -28,10 +31,10 @@ env:
jobs:
test:
strategy:
# https://blog.jaraco.com/efficient-use-of-ci-resources/
matrix:
python:
- "3.8"
- "3.11"
- "3.12"
platform:
- ubuntu-latest
Expand All @@ -42,6 +45,8 @@ jobs:
platform: ubuntu-latest
- python: "3.10"
platform: ubuntu-latest
- python: "3.11"
platform: ubuntu-latest
- python: pypy3.10
platform: ubuntu-latest
runs-on: ${{ matrix.platform }}
Expand Down
4 changes: 4 additions & 0 deletions .readthedocs.yaml
Expand Up @@ -10,3 +10,7 @@ build:
os: ubuntu-lts-latest
tools:
python: latest
# post-checkout job to ensure the clone isn't shallow jaraco/skeleton#114
jobs:
post_checkout:
- git fetch --unshallow || true
1 change: 1 addition & 0 deletions pytest.ini
Expand Up @@ -3,6 +3,7 @@ norecursedirs=dist build .tox .eggs
addopts=
--doctest-modules
--import-mode importlib
consider_namespace_packages=true
filterwarnings=
## upstream

Expand Down
4 changes: 4 additions & 0 deletions ruff.toml
@@ -1,4 +1,8 @@
[lint]
extend-select = [
"C901",
"W",
]
ignore = [
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191",
Expand Down
8 changes: 2 additions & 6 deletions setup.cfg
Expand Up @@ -32,12 +32,10 @@ exclude =
[options.extras_require]
testing =
# upstream
pytest >= 6
pytest >= 6, != 8.1.1
pytest-checkdocs >= 2.4
pytest-cov
pytest-mypy; \
# workaround for jaraco/skeleton#22
python_implementation != "PyPy"
pytest-mypy
pytest-enabler >= 2.2
pytest-ruff >= 0.2.1

Expand All @@ -47,8 +45,6 @@ testing =
docs =
# upstream
sphinx >= 3.5
# workaround for sphinx/sphinx-doc#11662
sphinx < 7.2.5
jaraco.packaging >= 9.3
rst.linker >= 1.9
furo
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Expand Up @@ -14,6 +14,7 @@ extras =
[testenv:diffcov]
description = run tests and check that diff from main is covered
deps =
{[testenv]deps}
diff-cover
commands =
pytest {posargs} --cov-report xml
Expand Down

0 comments on commit 9538358

Please sign in to comment.