Skip to content

Commit

Permalink
Rename test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Actionb committed Jul 31, 2024
1 parent a6c0a0b commit ad504d2
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Run tests (excluding playwright tests), containerized
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Run tests (containerized)
name: Run tests
on: [push]

jobs:
run-tests-container:
tests:
services:
db:
# https://docs.github.com/en/actions/using-containerized-services/creating-postgresql-service-containers
Expand All @@ -17,22 +17,22 @@ jobs:
--health-cmd pg_isready
--health-interval 5s
ports:
- 5432:5432
- 5433:5432

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
container:
# Use debian-based python image instead of alpine: playwright is not
# available for alpine and installation would fail
# Use debian-based python image instead of alpine, since playwright is not
# available for alpine.
# https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container
image: python:${{ matrix.python-version }}
env:
DB_NAME: mizdb
DB_USER: mizdb_user
DB_HOST: db
DB_PORT: 5432
DB_PORT: 5433
steps:
- uses: actions/checkout@v4
- name: Run setup
Expand Down

0 comments on commit ad504d2

Please sign in to comment.