Skip to content

Commit

Permalink
Fix Docker usage on new GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed Jun 20, 2024
1 parent e8fce8a commit 32447cf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: hatch run types:check

- name: Run tests
run: hatch test --python ${{ matrix.python-version }} --cover-quiet --randomize --parallel --retries 5 --retry-delay 3
run: hatch test --python ${{ matrix.python-version }} --cover-quiet --randomize --parallel --retries 5 --retry-delay 3

- name: Disambiguate coverage filename
run: mv .coverage ".coverage.${{ matrix.os }}.${{ matrix.python-version }}"
Expand Down
2 changes: 1 addition & 1 deletion tests/index/server/devpi/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ echo "==:> Starting server"
devpi-server --host 0.0.0.0 --port 3141 &

echo "==:> Waiting on server"
timeout 10 ash -c 'while ! echo exit | nc localhost 3141; do sleep 1; done'
sleep 5

echo "==:> Setting up index"
devpi use http://localhost:3141
Expand Down
2 changes: 0 additions & 2 deletions tests/index/server/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
devpi:
container_name: hatch-devpi
Expand Down

0 comments on commit 32447cf

Please sign in to comment.