-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix rio.loader/getter expecting an ooapi/id instead of rio/opleidingscode * e2e: assert hoOpleiding data in RIO correctly upserted * e2e: add gh actions workflow * e2e: add "try to create edspecs with invalid data" scenario * e2e: rename eduspec entity for clarity * e2e: support remote entity programs with offerings * e2e: add "create a program (for the edSpec child)" scenario * e2e: add "try to create a program with invalid data" scenario * e2e: add "create a course with its own edspec" scenario * Fix rio.loader/getter expecting an ooapi/id instead of rio/opleidingscode [FEEDBACK] * e2e: assert hoOpleiding data in RIO correctly upserted [FEEDBACK] * e2e: support remote entity programs with offerings [FEEDBACK] * gh: upgrade gh actions * e2e: github action on "workflow_dispatch" [WIP]
- Loading branch information
Showing
24 changed files
with
1,780 additions
and
302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Run e2e tests | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
|
||
jobs: | ||
e2e: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/cache@v4 | ||
with: { path: "~/.m2", key: "${{ runner.os }}-m2" } | ||
|
||
- name: Start Redis | ||
uses: supercharge/[email protected] | ||
with: | ||
redis-version: 6.2 | ||
|
||
- name: Run tests | ||
env: | ||
CLIENT_ID: ${{ secrets.CLIENT_ID }} | ||
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }} | ||
CLIENTS_INFO_PATH: ${{ secrets.CLIENTS_INFO_PATH }} | ||
GATEWAY_PASSWORD: ${{ secrets.GATEWAY_PASSWORD }} | ||
GATEWAY_ROOT_URL: ${{ secrets.GATEWAY_ROOT_URL }} | ||
GATEWAY_USER: ${{ secrets.GATEWAY_USER }} | ||
KEYSTORE_ALIAS: ${{ secrets.KEYSTORE_ALIAS }} | ||
KEYSTORE_JKS_B64: ${{ secrets.KEYSTORE_JKS_B64 }} | ||
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }} | ||
KEYSTORE: test/keystore.jks | ||
OS_AUTH_URL: ${{ secrets.OS_AUTH_URL }} | ||
OS_CONTAINER_NAME: ${{ secrets.OS_CONTAINER_NAME }} | ||
OS_PASSWORD: ${{ secrets.OS_PASSWORD }} | ||
OS_PROJECT_NAME: ${{ secrets.OS_PROJECT_NAME }} | ||
OS_USERNAME: ${{ secrets.OS_USERNAME }} | ||
RIO_READ_URL: ${{ secrets.RIO_READ_URL }} | ||
RIO_RECIPIENT_OIN: ${{ secrets.RIO_RECIPIENT_OIN }} | ||
RIO_SENDER_OIN: ${{ secrets.RIO_SENDER_OIN }} | ||
RIO_UPDATE_URL: ${{ secrets.RIO_UPDATE_URL }} | ||
SURF_CONEXT_CLIENT_ID: ${{ secrets.SURF_CONEXT_CLIENT_ID }} | ||
SURF_CONEXT_CLIENT_SECRET: ${{ secrets.SURF_CONEXT_CLIENT_SECRET }} | ||
SURF_CONEXT_INTROSPECTION_ENDPOINT: ${{ secrets.SURF_CONEXT_INTROSPECTION_ENDPOINT }} | ||
TOKEN_ENDPOINT: ${{ secrets.TOKEN_ENDPOINT }} | ||
TRUSTSTORE_JKS_B64: ${{ secrets.TRUSTSTORE_JKS_B64 }} | ||
TRUSTSTORE_PASSWORD: ${{ secrets.TRUSTSTORE_PASSWORD }} | ||
TRUSTSTORE: truststore.jks | ||
run: lein test :e2e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.