From dbd3bfa66fb0e443b99d3a6c75fdee3409e70edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Sun, 16 Apr 2023 10:22:43 +0200 Subject: [PATCH] Add cancel concurrency --- .github/workflows/test.yaml | 4 ++++ setup.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 125bc276..c6c198b9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -10,6 +10,10 @@ on: schedule: - cron: '0 18 * * SUN' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: pre_commit: name: Run pre-commit hooks diff --git a/setup.py b/setup.py index bc92afe3..fc488c59 100644 --- a/setup.py +++ b/setup.py @@ -172,7 +172,7 @@ def run(self): setup_args = dict( name='geoviews', version=get_setup_version("geoviews"), - python_requires = '>=3.7', + python_requires = '>=3.8', install_requires = _required, extras_require = extras_require, tests_require = extras_require['tests'],