Skip to content

Commit

Permalink
Fixed the pgp-related commit unit test problem
Browse files Browse the repository at this point in the history
  • Loading branch information
HampusMat committed Aug 12, 2021
1 parent 108b469 commit 30f0b2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ yarn-install:

test:
stage: test
before_script:
- gpg --keyserver keys.openpgp.org --receive-keys 9C0309603A7DA7CE3F1B2CE7B7D6FB9B7AFDF0DE
script:
- yarn test --ci=true

Expand Down
2 changes: 1 addition & 1 deletion test/unit/commit.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() => {
Expand Down

0 comments on commit 30f0b2e

Please sign in to comment.