Skip to content

Commit

Permalink
fix gha syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
meksor committed Aug 12, 2024
1 parent b076194 commit f6f7d08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ jobs:
runs-on: ubuntu-latest
services:
postgres:
image: ${{ (matrix.backend == 'postgres' || matrix.backend == 'rest-postgres') && 'postgres:${{ matrix.postgres-version }}' || '' }}
image:
image: ${{ ( matrix.backend == 'postgres'||matrix.backend == 'rest-postgres' ) && format('postgres:{0}', matrix.postgres-version) || '' }}
env:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: test
Expand Down

0 comments on commit f6f7d08

Please sign in to comment.