Skip to content

Commit

Permalink
github actions python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
devxpy committed Jun 25, 2024
1 parent a80f5ea commit 193424f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,16 @@ jobs:
ports:
# Maps tcp port 6379 on service container to the host
- 6379:6379

steps:
- name: Increase max_connections
run: |
docker exec -i postgres bash << EOF
sed -i -e 's/max_connections = 100/max_connections = 10000/' /var/lib/postgresql/data/postgresql.conf
EOF \
&& docker restart my_postgres_container \
&& sleep 5
EOF
steps:
- name: Restart postgres
run: |
docker restart --time 0 my_postgres_container && sleep 5
- uses: actions/checkout@v4
# with:
Expand Down

0 comments on commit 193424f

Please sign in to comment.