Skip to content

Commit

Permalink
CI: try fix path to svg
Browse files Browse the repository at this point in the history
  • Loading branch information
gil-air-may committed May 24, 2024
1 parent 8b0798e commit 3ba29c1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,24 @@ jobs:
coverage run -m pytest
coverage xml
coverage-badge -o coverage.svg
ls -a
- uses: actions/upload-artifact@v4
with:
name: coverage-image
path: coverage.svg

- name: Setup Git for Pages
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- name: Checkout gh-pages branch
- uses: actions/download-artifact@v4
with:
name: coverage-image
run: |
git fetch origin
git checkout gh-pages || git checkout --orphan gh-pages
rm -rf *
ls -a ../test-containers
ls -a
cp coverage.svg .
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 3ba29c1

Please sign in to comment.