aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--test/unit/commit.unit.test.ts2
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b6eb7cd..ce9d5aa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,6 +21,8 @@ yarn-install:
test:
stage: test
+ before_script:
+ - gpg --keyserver keys.openpgp.org --receive-keys 9C0309603A7DA7CE3F1B2CE7B7D6FB9B7AFDF0DE
script:
- yarn test --ci=true
diff --git a/test/unit/commit.unit.test.ts b/test/unit/commit.unit.test.ts
index c8cc06f..e9e0e0d 100644
--- a/test/unit/commit.unit.test.ts
+++ b/test/unit/commit.unit.test.ts
@@ -48,7 +48,7 @@ describe("Commit", () => {
let commit: Commit;
beforeAll(async() => {
- commit = await repository.head();
+ commit = await Commit.lookup(repository, "8feb65c5467cc3ad48270183113a121c4a9f86ca");
});
it("Should get the stats", async() => {