-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix failing tests on Python3.10+ by rewriting vcrpy casettes (#21)
* Rewrite vcrpy casettes When running toggl-track on Python 3.10+ all tests using vcrpy fail, while they keep running on 3.8 and 3.9. The new default for vcrpy is to store the request body as a string, so I decided to rewrite the cassettes. * Pin Pydantic < 2 * Run tests on push only * Fix syntax error * Pin dependencies to avoid drift * Require pytest 7.4.4 to keep Python 3.7 compatibility
- Loading branch information
Showing
16 changed files
with
293 additions
and
550 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: Test | ||
|
||
on: [push, pull_request] | ||
on: [push] | ||
|
||
permissions: | ||
contents: read | ||
|
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
Oops, something went wrong.