Improved test coverage. #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
env: | |
POETRY_HOME: /home/runner/.local | |
POETRY_CACHE_DIR: /home/runner/.local/.cache | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
eventstore-image-tag: [ "21.10.9-buster-slim", "22.10.3-buster-slim", "23.10.0-bookworm-slim" ] | |
env: | |
EVENTSTORE_IMAGE_TAG: ${{ matrix.eventstore-image-tag }} | |
runs-on: "ubuntu-22.04" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
run: make install-poetry | |
- name: Install packages | |
run: make install-packages | |
- name: Start EventStoreDB | |
run: make start-eventstoredb | |
- name: Lint | |
run: make lint | |
- name: Test | |
run: make test |