Skip to content

Commit 1699e6e

Browse files
committed
Use arduino-libraries/ArduinoCloud for Git integration tests
In order to be effective for testing, the repository should have the following properties: - Must not contain any non-compliant releases, which would cause a spurious test failure. For this reason, an archived repository was chosed to avoid test breakage from future releases. - Should contain both lightweight and annotated tags.
1 parent 5be452c commit 1699e6e

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

libraries/git_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
)
1313

1414
func TestUpdateLibraryJson(t *testing.T) {
15-
repos, err := ListRepos("./testdata/git_only_servo.txt")
15+
repos, err := ListRepos("./testdata/git_test_repo.txt")
1616

1717
require.NoError(t, err)
1818
require.NotNil(t, repos)

libraries/testdata/git_only_servo.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

libraries/testdata/git_test_repo.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Must not contain any non-compliant releases (so use an archived repo to avoid breakage).
2+
# Should contain both lightweight and annotated tags.
3+
https://github.com/arduino-libraries/ArduinoCloud.git|Arduino|ArduinoCloud

0 commit comments

Comments
 (0)