Update repo
This commit is contained in:
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user