From 33a5395ad577c06824be5a42920b4a87a92b7ea6 Mon Sep 17 00:00:00 2001 From: Maximilian Moser Date: Thu, 31 Aug 2023 18:02:16 +0200 Subject: [PATCH] github: drop python 3.7 from github workflows --- .github/workflows/pypi-publish.yml | 4 ++-- .github/workflows/tests.yml | 37 +++++++++++------------------- 2 files changed, 15 insertions(+), 26 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 5f0a4343..01de32b5 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -17,10 +17,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Python 3.7 + - name: Set up Python 3.9 uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 16d3b15d..81d7efe9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,51 +16,40 @@ on: branches: master schedule: # * is a special character in YAML so you have to quote this string - - cron: '0 3 * * 6' + - cron: "0 3 * * 6" workflow_dispatch: inputs: reason: - description: 'Reason' + description: "Reason" required: false - default: 'Manual trigger' + default: "Manual trigger" jobs: Tests: runs-on: ubuntu-20.04 strategy: matrix: - python-version: [3.7, 3.8, 3.9] - requirements-level: [pypi] - db-service: [postgresql10,postgresql13] - search-service: [opensearch2,elasticsearch7] - exclude: - - python-version: 3.7 - db-service: postgresql13 - search-service: opensearch2 - - - python-version: 3.7 - db-service: postgresql13 - search-service: elasticsearch7 - + python-version: [3.8, 3.9] + requirements-level: [pypi] + db-service: [postgresql11, postgresql13] + search-service: [opensearch2, elasticsearch7] + exclude: - python-version: 3.8 - db-service: postgresql10 + db-service: postgresql11 search-service: opensearch2 - python-version: 3.8 - db-service: postgresql10 + db-service: postgresql11 search-service: elasticsearch7 - python-version: 3.9 - db-service: postgresql10 + db-service: postgresql11 search-service: opensearch2 - python-version: 3.9 - db-service: postgresql10 + db-service: postgresql11 search-service: elasticsearch7 - include: - - db-service: postgresql10 - DB_EXTRAS: "postgresql" - + include: - db-service: postgresql13 DB_EXTRAS: "postgresql"