Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma67 committed Aug 20, 2023
1 parent ffbd181 commit 6a502ef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Code coverage
on:
push

env:
XDG_CACHE_HOME: .cache

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -20,7 +23,8 @@ jobs:
pip install -e .
pip install coverage
cat <<< "$SETTINGS_INI" > spotify_to_ytmusic/settings.ini
cat <<< "$SPOTIPY_CACHE" > .cache/spotipy.cache
mkdir -p $XDG_CACHE_HOME/spotify_to_ytmusic
cat <<< "$SPOTIPY_CACHE" > $XDG_CACHE_HOME/spotify_to_ytmusic/spotipy.cache
coverage run
coverage xml
- name: Upload coverage to Codecov
Expand Down

0 comments on commit 6a502ef

Please sign in to comment.