summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2021-12-13 08:29:42 +0200
committerHugo van Kemenade <hugovk@users.noreply.github.com>2021-12-13 08:29:42 +0200
commitc19e4c3ab2cb3adf10e278f4abce14d15ee66745 (patch)
tree0989c9e37660b6c41023ab4796d144ff9a95ce05
parent4a74ce214ba23ab6c0404a2ec31ab7429e8f42c6 (diff)
downloadisodate-c19e4c3ab2cb3adf10e278f4abce14d15ee66745.tar.gz
Fix CI
-rw-r--r--.github/workflows/lint.yml2
-rw-r--r--.github/workflows/test.yml6
-rw-r--r--.pre-commit-config.yaml12
-rw-r--r--README.rst4
4 files changed, 6 insertions, 18 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 5b01bde..769ea4e 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,6 +1,6 @@
name: Lint
-on: [push, pull_request]
+on: [push, pull_request, workflow_dispatch]
jobs:
lint:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 4ebcf46..edf58a9 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,17 +1,17 @@
name: Test
-on: [push, pull_request]
+on: [push, pull_request, workflow_dispatch]
env:
FORCE_COLOR: 1
jobs:
- build:
+ test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
- python-version: ["3.7", "3.8", "3.9", "3.10", "pypy3"]
+ python-version: ["pypy-3.8", "3.7", "3.8", "3.9", "3.10"]
os: [ubuntu-latest, macos-latest, windows-latest]
include:
# Include new variables for Codecov
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 30b419f..1f04e3f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -5,22 +5,10 @@ repos:
- id: pyupgrade
args: [--py37-plus]
- - repo: https://github.com/psf/black
- rev: 21.12b0
- hooks:
- - id: black
- args: [--target-version=py36]
-
- - repo: https://github.com/PyCQA/isort
- rev: 5.10.1
- hooks:
- - id: isort
-
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
- additional_dependencies: [flake8-2020, flake8-implicit-str-concat]
args:
- "--max-line-length=88"
diff --git a/README.rst b/README.rst
index 63a56d5..d030a4a 100644
--- a/README.rst
+++ b/README.rst
@@ -9,10 +9,10 @@ ISO 8601 date/time parser
:target: https://coveralls.io/r/gweis/isodate?branch=master
:alt: Coveralls
.. image:: https://img.shields.io/pypi/v/isodate.svg
- :target: https://pypi.python.org/pypi/isodate/
+ :target: https://pypi.python.org/pypi/isodate/
:alt: Latest Version
.. image:: https://img.shields.io/pypi/l/isodate.svg
- :target: https://pypi.python.org/pypi/isodate/
+ :target: https://pypi.python.org/pypi/isodate/
:alt: License