From 04c725ad4d83ca6e87b7fbdaf3633bd9c8d84e5b Mon Sep 17 00:00:00 2001 From: johnbywater Date: Sun, 21 Jan 2024 05:32:22 +0000 Subject: [PATCH] Fixed GitHub Actions workflow. --- .github/workflows/runtests.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/runtests.yaml b/.github/workflows/runtests.yaml index 74cd2620..35b3563a 100644 --- a/.github/workflows/runtests.yaml +++ b/.github/workflows/runtests.yaml @@ -33,11 +33,13 @@ jobs: - 5432:5432 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + - name: Setup database run: | PGPASSWORD=postgres psql -c 'CREATE DATABASE eventsourcing;' -U postgres -h localhost @@ -45,7 +47,10 @@ jobs: PGPASSWORD=postgres psql -c "ALTER DATABASE eventsourcing OWNER TO eventsourcing;" -U postgres -h localhost PGPASSWORD=postgres psql eventsourcing -c "CREATE SCHEMA myschema AUTHORIZATION eventsourcing" -U postgres -h localhost - - name: Install + - name: Install Poetry + run: make install-poetry + + - name: Install packages run: make install-packages - name: Lint