-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
114 changed files
with
78 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,14 @@ on: | |
branches: | ||
- main | ||
paths: | ||
- cli/** | ||
- ytmusic_deleter/** | ||
- tests/** | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- cli/** | ||
- ytmusic_deleter/** | ||
- tests/** | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 10 * * *' | ||
|
@@ -30,18 +32,18 @@ jobs: | |
uses: jsdaniell/[email protected] | ||
with: | ||
name: "oauth.json" | ||
dir: "cli/tests/resources" | ||
dir: "tests/resources" | ||
json: ${{ secrets.OAUTH_JSON }} | ||
- name: Install dependencies | ||
run: pdm install -dG test,pytest | ||
run: pdm install -dG test | ||
- name: Generate coverage report | ||
env: | ||
HEADERS_AUTH: ${{ secrets.BROWSER_JSON }} | ||
TEST_CFG: ${{ secrets.TEST_CFG }} | ||
run: | | ||
curl -o cli/tests/resources/test.mp3 https://www.kozco.com/tech/piano2-CoolEdit.mp3 | ||
cat <<< "$HEADERS_AUTH" > cli/tests/resources/browser.json | ||
cat <<< "$TEST_CFG" > cli/tests/resources/test.cfg | ||
curl -o tests/resources/test.mp3 https://www.kozco.com/tech/piano2-CoolEdit.mp3 | ||
cat <<< "$HEADERS_AUTH" > tests/resources/browser.json | ||
cat <<< "$TEST_CFG" > tests/resources/test.cfg | ||
(echo "===== tests attempt: 1 ====" && pdm run pytest) || \ | ||
(echo "===== tests attempt: 2 ====" && pdm run pytest) | ||
pdm run coverage xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ do | |
then | ||
msgfmt -o ${dir}/LC_MESSAGES/base.mo ${dir}/LC_MESSAGES/base | ||
fi | ||
done | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ do | |
then | ||
msgmerge --update ${dir}/LC_MESSAGES/base.po base.pot --no-fuzzy-matching | ||
fi | ||
done | ||
done |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ do | |
then | ||
msgfmt -o ${dir}/LC_MESSAGES/base.mo ${dir}/LC_MESSAGES/base | ||
fi | ||
done | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ do | |
then | ||
msgmerge --update ${dir}/LC_MESSAGES/base.po base.pot --no-fuzzy-matching | ||
fi | ||
done | ||
done |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.