Skip to content

Commit

Permalink
Fix some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge authored Oct 31, 2023
1 parent 111f857 commit 4ac888c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/utilities/new_versions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,12 @@ end

hash = read(`git rev-parse HEAD`, String)

api = GitHub.GitHubAPI()
ci_cfg = nothing
repo = nothing
apply(git_push_patch) do
CompatHelper.force_ci_trigger(
GitHub.GitHubAPI(), "title", "master", "pkey"
api, ci_cfg, repo, "title", "master", "pkey"
)
end
new_hash = read(`git rev-parse HEAD`, String)
Expand All @@ -308,9 +311,12 @@ end

hash = read(`git rev-parse HEAD`, String)

api = GitHub.GitHubAPI()
ci_cfg = nothing
repo = nothing
apply(git_push_patch) do
CompatHelper.force_ci_trigger(
GitHub.GitHubAPI(), "title", "master", nothing
api, ci_cfg, repo, "title", "master", nothing
)
end
new_hash = read(`git rev-parse HEAD`, String)
Expand Down

0 comments on commit 4ac888c

Please sign in to comment.