Skip to content

Commit

Permalink
Docker: Pintesting environment
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed May 16, 2024
1 parent 8a2941d commit 6c4fe7b
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .docker/requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
docker
pytest
requests
pytest-docker
40 changes: 34 additions & 6 deletions .docker/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
docker
pytest
requests
tabulate
pytest-docker
docker-compose
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in
attrs==23.2.0
# via pytest-docker
certifi==2024.2.2
# via requests
charset-normalizer==3.3.2
# via requests
docker==7.0.0
# via -r requirements.in
idna==3.7
# via requests
iniconfig==2.0.0
# via pytest
packaging==24.0
# via
# docker
# pytest
pluggy==1.5.0
# via pytest
pytest==8.2.0
# via
# -r requirements.in
# pytest-docker
pytest-docker==3.1.1
# via -r requirements.in
requests==2.31.0
# via
# -r requirements.in
# docker
urllib3==2.2.1
# via
# docker
# requests
6 changes: 1 addition & 5 deletions .github/workflows/docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:
timeout-minutes: 20
defaults:
run:
# Make sure we fail if any command in a piped command sequence fails
shell: bash -e -o pipefail {0}
working-directory: .docker

steps:
Expand All @@ -47,9 +45,7 @@ jobs:
cache: pip

- name: Install dependencies 📦
run: |
pip install -r requirements.txt
pip freeze
run: pip install -r requirements.txt --no-deps

- name: Run tests
run: pytest -s
Expand Down

0 comments on commit 6c4fe7b

Please sign in to comment.