Skip to content

Commit

Permalink
feat: enable tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
maindotdev committed Dec 18, 2024
1 parent f59edf4 commit 536378d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ jobs:
path: .
options: --exclude=vendor

- name: Prepare environment file
env:
TESTING_ENV_FILE_CONTENT: ${{ secrets.TESTING_ENV_FILE_CONTENT }}
run: echo $TESTING_ENV_FILE_CONTENT | base64 --decode > tests/Helpers/.env

- name: Integration tests
run: composer run-script test

release:
environment: release
needs:
Expand Down
2 changes: 0 additions & 2 deletions tests/Helpers/TestHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ function getConfiguration()
'vpToken' => $_ENV['VP_TOKEN'],
'vc' => $_ENV['VERIFIABLE_CREDENTIAL'],
'vcInvalid' => $_ENV['VERIFIABLE_CREDENTIAL_INVALID'],
'expiredJwt' => $_ENV['EXPIRED_JWT'],
'invalidJwt' => $_ENV['INVALID_JWT'],
'issuanceData' => $_ENV['CREDENTIAL_ISSUANCE_DATA']
];
}
Expand Down

0 comments on commit 536378d

Please sign in to comment.