Skip to content

Commit

Permalink
Publish coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1nksm committed Jul 21, 2024
1 parent 31c6e95 commit bd912b4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,27 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install packages
run: |
sudo apt-get update
sudo apt-get install -y kcov
- name: Install shellspec
run: |
echo "${HOME}/.local/bin" >> "$GITHUB_PATH"
curl -fsSL https://git.io/shellspec | sh -s master -y
- name: Measure code coverage
run: make test_with_coverage
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'pages'
path: 'coverage'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
10 changes: 0 additions & 10 deletions pages/index.html

This file was deleted.

0 comments on commit bd912b4

Please sign in to comment.