-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1653 from pazz/gh-flake
Add github action to check the nix build and deactivate broken CI jobs until the gpg dependency issue is resolved.
- Loading branch information
Showing
10 changed files
with
108 additions
and
61 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
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,3 +1,10 @@ | ||
# WARNING: This workflow is deactivated until the gpg dependency problem from | ||
# issue 1630 (see | ||
# https://github.com/pazz/alot/issues/1630#issuecomment-1938174029 and | ||
# onwards) is fixed. The problem was introduced in c1137ea9: the gpg | ||
# dependency is required with version > 1.10.0 and such a version is not | ||
# currently available on PyPI but must be build from hand. | ||
|
||
name: Run tests | ||
|
||
on: | ||
|
@@ -59,11 +66,8 @@ jobs: | |
- name: disable some tests that don't work in CI | ||
run: > | ||
sed -Ei | ||
-e '1iimport unittest' | ||
-e 's/^(\s*)(async )?def test_(no_spawn_no_stdin_attached|save_named_query|parsing_notmuch_config_with_non_bool_synchronize_flag_fails)/\[email protected]("broken in ci")\n&/' | ||
-e 's/^(\s*)async def test_no_spawn_no_stdin_attached/\[email protected]("broken in ci")\n&/' | ||
tests/commands/test_global.py | ||
tests/db/test_manager.py | ||
tests/settings/test_manager.py | ||
|
||
- name: Run tests | ||
run: python3 -m unittest --verbose |
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
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