From c19e4c3ab2cb3adf10e278f4abce14d15ee66745 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Mon, 13 Dec 2021 08:29:42 +0200 Subject: Fix CI --- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 6 +++--- .pre-commit-config.yaml | 12 ------------ README.rst | 4 ++-- 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 -- cgit v1.2.1