Skip to content

Commit

Permalink
Fixed GitHub Actions workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbywater committed Jan 21, 2024
1 parent 59a9da1 commit 04c725a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/runtests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,24 @@ 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
PGPASSWORD=postgres psql -c "CREATE USER eventsourcing WITH PASSWORD 'eventsourcing';" -U postgres -h localhost
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
Expand Down

0 comments on commit 04c725a

Please sign in to comment.