Update repo

This commit is contained in:
Hang Cui
2025-10-17 16:15:20 -07:00
parent 04a26b5a4a
commit 51213a40c8

View File

@@ -20,15 +20,17 @@ jobs:
- name: Run unit tests
run: |
cd backend
apt install zip
COVERAGE_FILE=.coverage tox -e unit
ls -la ${{ github.workspace }}/backend
stat ./.coverage
zip coverage.zip ./.coverage
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: build-coverage
path: ${{ github.workspace }}/backend/main.py
path: ${{ github.workspace }}/backend/coverage.zip
if-no-files-found: error
load-file-example:
@@ -42,4 +44,8 @@ jobs:
path: ${{ github.workspace }} # Move the coverage to ${{ github.workspace }}
- name: List folder
run: ls -la ${{ github.workspace }}
run: |
ls -la ${{ github.workspace }}
unzip coverage.zip
ls -la ${{ github.workspace }}