fix(ci): write workspace artifact outside checkout
Some checks failed
CI/CD Pipeline / Code Quality Checks (pull_request) Successful in 2m51s
CI/CD Pipeline / Run Tests (push) Failing after 3m5s
CI/CD Pipeline / Run API Inventory E2E Tests (push) Has been skipped
CI/CD Pipeline / Code Quality Checks (push) Successful in 3m10s
CI/CD Pipeline / Telegram Notify Success (push) Has been skipped
CI/CD Pipeline / Run Tests (pull_request) Failing after 3m45s
CI/CD Pipeline / Run API Inventory E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Telegram Notify Success (pull_request) Has been skipped

This commit is contained in:
2026-03-23 11:26:57 +01:00
parent 8b7b07c1c6
commit 53242aae29

View File

@@ -169,13 +169,13 @@ jobs:
if: success()
run: |
set -euo pipefail
WORKSPACE_ARCHIVE="/tmp/ci-test-workspace.tar.gz"
tar \
--exclude='.git' \
--exclude='ci-test-workspace.tar.gz' \
--exclude='.pytest_cache' \
--exclude='htmlcov' \
--exclude='__pycache__' \
-czf ci-test-workspace.tar.gz \
-czf "${WORKSPACE_ARCHIVE}" \
.
- name: Upload prepared test workspace
@@ -183,7 +183,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ci-test-workspace
path: ci-test-workspace.tar.gz
path: /tmp/ci-test-workspace.tar.gz
if-no-files-found: error
retention-days: 1