Skip to content

Commit

Permalink
ci: update matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
slint committed Jan 31, 2024
1 parent 60a75d7 commit 5d69c92
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,39 +33,19 @@ jobs:
# a new item to the following lists.
# You can see the complete list of services and versions that are available at:
# https://docker-services-cli.readthedocs.io/en/latest/configuration.html
python-version: [3.7, 3.8, 3.9]
python-version: [3.8, 3.9]
requirements-level: [pypi]
cache-service: [redis]
db-service: [postgresql13, postgresql14, mysql8]
db-service: [postgresql14]
mq-service: [rabbitmq]
search-service: [opensearch2, elasticsearch7]

exclude:
- python-version: 3.7
db-service: postgresql13

- python-version: 3.7
db-service: mysql8

include:
- db-service: postgresql14
DB_EXTRAS: "postgresql"

- db-service: postgresql13
DB_EXTRAS: "postgresql"

- search-service: opensearch2
SEARCH_EXTRAS: "opensearch2"

- search-service: elasticsearch7
SEARCH_EXTRAS: "elasticsearch7"

env:
CACHE: ${{ matrix.cache-service }}
DB: ${{ matrix.db-service }}
MQ: ${{ matrix.mq-service }}
SEARCH: ${{ matrix.search-service }}
EXTRAS: tests,${{matrix.SEARCH_EXTRAS}}
EXTRAS: tests,${{matrix.search-service}}

steps:
- name: Checkout
Expand Down

0 comments on commit 5d69c92

Please sign in to comment.