Archived
1 parent
affe28ad71
commit
db262c6607
9 files changed
+29
-302
No files matched your search
@@ -9,7 +9,7 @@ from scripts import gitea_release
|
||||
def test_release_creates_draft_uploads_and_publishes(tmp_path, monkeypatch):
|
||||
monkeypatch.chdir(tmp_path)
|
||||
Path('VERSION').write_text('1.2.3', encoding='utf-8')
|
||||
for key, value in {'GITHUB_REF_NAME':'v1.2.3', 'GITHUB_SERVER_URL':'https://git.example', 'GITHUB_REPOSITORY':'owner/project', 'GITEA_RELEASE_TOKEN':'test-token'}.items():
|
||||
for key, value in {'GITHUB_REF_NAME':'v1.2.3', 'GITHUB_SERVER_URL':'https://git.example', 'GITHUB_REPOSITORY':'owner/project', 'RELEASE_TOKEN':'test-token'}.items():
|
||||
monkeypatch.setenv(key, value)
|
||||
calls = []
|
||||
def archive(args, **kwargs):
|
||||
|
||||
Reference in new issue
Block a user