From 7261a328db99d1ad65a3fdcbcda4476f8c9108ab Mon Sep 17 00:00:00 2001 From: Raghu Rajan Date: Thu, 2 May 2024 18:14:52 +0200 Subject: [PATCH] Update workflows with new Python versions --- .github/workflows/gh-test.yml | 10 +++++----- .github/workflows/install-from-pypi.yml | 10 +++++----- .github/workflows/publish.yml | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/gh-test.yml b/.github/workflows/gh-test.yml index 7e13202..d977d74 100644 --- a/.github/workflows/gh-test.yml +++ b/.github/workflows/gh-test.yml @@ -1,13 +1,13 @@ # This workflow will install Python dependencies, run tests and lint with a single version of Python # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions -name: Test +name: Various Checks and Tests on: push: - branches: [ master, dev/jan, experimental ] + branches: [ master, experimental ] pull_request: - branches: [ master, dev/jan, experimental ] + branches: [ master, experimental ] jobs: build: @@ -16,10 +16,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python 3.6 + - name: Set up Python 3.x uses: actions/setup-python@v2 with: - python-version: 3.6 + python-version: '>=3.7 <=3.12' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/install-from-pypi.yml b/.github/workflows/install-from-pypi.yml index d18dfeb..e0436ff 100644 --- a/.github/workflows/install-from-pypi.yml +++ b/.github/workflows/install-from-pypi.yml @@ -1,12 +1,12 @@ -name: Test PyPI Installation +name: Check PyPI Installation on: workflow_dispatch: push: - branches: [ master, dev/jan ] + branches: [ master ] pull_request: - branches: [ master, dev/jan ] + branches: [ master ] jobs: build: @@ -15,10 +15,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python 3.6 + - name: Set up Python 3.x uses: actions/setup-python@v2 with: - python-version: 3.6 + python-version: '>=3.7 <=3.12' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 10fe3a2..4ede878 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Python + - name: Set up Python 3.x uses: actions/setup-python@v1 with: - python-version: "3.6" + python-version: '>=3.7 <=3.12' - name: Install Poetry run: | curl -fsS -o get-poetry.py https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py