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