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 b9aff32 commit 399a3fd
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:
- name: Ls Report Output Files
if: success()
run: ls -R
working-directory: ${{ github.workspace }}/output/test-results
working-directory: ${{ github.workspace }}/output

# https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts
# https://github.blog/changelog/2020-10-08-github-actions-ability-to-change-retention-days-for-artifacts-and-logs/
Expand Down Expand Up @@ -232,21 +232,20 @@ jobs:
- name: unzip artifacts
run: |
mkdir "${{ github.workspace }}/output"
ls "${{ github.workspace }}"
unzip ${{ github.workspace }}/artifacts/build-test-artifacts/test-results.zip -d ${{ github.workspace }}/output
- name: Ls Report Output Files
- name: Ls test-result Output Files
if: success()
run: ls -R
working-directory: ${{ github.workspace }}/output/
run: ls -R ${{ github.workspace }}/output/test-results
# working-directory: ${{ github.workspace }}/output/test-results

# merging all coverage in a single coverage file and generating html files for downloading as artifacts
- name: Publish coverage report to coveralls.io
if: success()
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ${{ github.workspace }}/output/test-results/lcov.info
path-to-lcov: "output/test-results/lcov.info"

# https://thecodinganalyst.github.io/knowledgebase/Basic-guide-to-Semantic-Release/
# https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b
Expand Down

0 comments on commit 399a3fd

Please sign in to comment.