Skip to content

Commit

Permalink
debug zot gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincinator committed Aug 15, 2024
1 parent b699e7a commit 08f4b27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
sudo wget -O /usr/bin/zot https://github.com/project-zot/zot/releases/download/v2.1.0/zot-linux-amd64
sudo chmod +x /usr/bin/zot
sudo chown root:root /usr/bin/zot
- name: serve zot
run: zot serve zot/config.json &> zot_output.log &
- name: Run tests with pytest
run: poetry run pytest -s
run: poetry run pytest
- name: print zot_output
run: cat zot_output.log

1 change: 0 additions & 1 deletion tests/test_push_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def write_zot_config(config_dict, file_path):
json.dump(config_dict, config_file, indent=4)


@pytest.fixture(autouse=True)
def setup_test_environment():
zot_config = {
"distSpecVersion": "1.1.0",
Expand Down

0 comments on commit 08f4b27

Please sign in to comment.