Skip to content

Commit

Permalink
github: drop python 3.7 from github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
max-moser authored and zzacharo committed Sep 5, 2023
1 parent d2667c0 commit 33a5395
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
37 changes: 13 additions & 24 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 33a5395

Please sign in to comment.