Skip to content

Commit

Permalink
Merge pull request #30 from sebastienrousseau/feat/libmake
Browse files Browse the repository at this point in the history
fix(libmake): 🚑 commenting ci issue
  • Loading branch information
sebastienrousseau authored Jan 17, 2024
2 parents c23b528 + 6aa1c90 commit d2a23d9
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,30 +40,30 @@ jobs:
run: cargo test --verbose --workspace --all-features

# Install grcov
- name: Install grcov
# Only run this job on the main branch when a commit is pushed.
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
id: install-grcov
run: |
mkdir -p "${HOME}/.local/bin"
curl -sL https://github.com/mozilla/grcov/releases/download/v0.8.18/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar jxf - -C "${HOME}/.local/bin"
echo "$HOME/.local/bin" >> $GITHUB_PATH
# - name: Install grcov
# # Only run this job on the main branch when a commit is pushed.
# if: github.ref == 'refs/heads/main' && github.event_name == 'push'
# id: install-grcov
# run: |
# mkdir -p "${HOME}/.local/bin"
# curl -sL https://github.com/mozilla/grcov/releases/download/v0.8.18/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar jxf - -C "${HOME}/.local/bin"
# echo "$HOME/.local/bin" >> $GITHUB_PATH

# Use grcov to generate a coverage report
- name: Generate coverage report
# Only run this job on the main branch when a commit is pushed.
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
id: generate-code-coverage
uses: actions-rs/cargo@v1
with:
command: xtask
args: coverage
# # Use grcov to generate a coverage report
# - name: Generate coverage report
# # Only run this job on the main branch when a commit is pushed.
# if: github.ref == 'refs/heads/main' && github.event_name == 'push'
# id: generate-code-coverage
# uses: actions-rs/cargo@v1
# with:
# command: xtask
# args: coverage

# Upload the coverage report to codecov
- name: Upload coverage report to codecov
# Only run this job on the main branch when a commit is pushed.
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
id: upload-report-codecov
uses: codecov/codecov-action@v3
with:
files: coverage/*.lcov
# # Upload the coverage report to codecov
# - name: Upload coverage report to codecov
# # Only run this job on the main branch when a commit is pushed.
# if: github.ref == 'refs/heads/main' && github.event_name == 'push'
# id: upload-report-codecov
# uses: codecov/codecov-action@v3
# with:
# files: coverage/*.lcov

0 comments on commit d2a23d9

Please sign in to comment.