Skip to content

Commit

Permalink
ci: update matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
slint authored and zzacharo committed Sep 14, 2023
1 parent a6c5b76 commit e739a10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,16 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.8, 3.9]
requirements-level: [pypi]
db-service: [postgresql11, postgresql13, mysql8]
db-service: [postgresql14]
search-service: [opensearch2, elasticsearch7]
node-version: [16.x]
exclude:
- python-version: 3.7
db-service: postgresql13

- python-version: 3.7
db-service: mysql8

include:
- search-service: opensearch2
SEARCH_EXTRAS: "opensearch2"

- search-service: elasticsearch7
SEARCH_EXTRAS: "elasticsearch7"

- db-service: mysql8
DB_EXTRAS: "mysql"

env:
DB: ${{ matrix.db-service }}
SEARCH: ${{ matrix.search-service }}
Expand Down
2 changes: 1 addition & 1 deletion run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ trap cleanup EXIT
python -m check_manifest
python -m setup extract_messages --output-file /dev/null
python -m sphinx.cmd.build -qnNW docs docs/_build/html
eval "$(docker-services-cli up --db ${DB:-mysql} --search ${ES:-opensearch} --mq ${CACHE:-redis} --env)"
eval "$(docker-services-cli up --db ${DB:-postgresql} --search ${ES:-opensearch} --mq ${CACHE:-redis} --env)"
python -m pytest $@
tests_exit_code=$?
exit "$tests_exit_code"

0 comments on commit e739a10

Please sign in to comment.