Skip to content

Commit

Permalink
ci: changes ci-cd
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdihadeli committed Jan 19, 2023
1 parent c6b4376 commit f7c2b0b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
# # https://stackoverflow.com/questions/68470162/how-to-archive-files-in-artifact-for-github-workflow-actions-in-order-to-fix-thi
- name: Zip test-results Artifacts
run: |
zip -r ${{ github.workspace }}/output/test-results.zip ${{ github.workspace }}/output/test-results/
zip -r ${{ github.workspace }}/output/test-results.zip ${{ github.workspace }}/output/test-results/*
# https://github.com/actions/runner/issues/946#issuecomment-900193569
# https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context
Expand Down Expand Up @@ -232,12 +232,11 @@ jobs:
- name: unzip artifacts
run: |
mkdir "${{ github.workspace }}/output"
unzip ${{ github.workspace }}/artifacts/build-test-artifacts/test-results.zip -d ${{ github.workspace }}/output
unzip "${{ github.workspace }}/artifacts/build-test-artifacts/test-results.zip" -d "${{ github.workspace }}/output"
- name: Ls test-result Output Files
if: success()
run: ls -R
working-directory: ${{ github.workspace }}/output/test-results
run: ls -R ${{ github.workspace }}/output

# merging all coverage in a single coverage file and generating html files for downloading as artifacts
- name: Publish coverage report to coveralls.io
Expand Down

0 comments on commit f7c2b0b

Please sign in to comment.