-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More regression tests #272
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
b63132c
Fix rio.loader/getter expecting an ooapi/id instead of rio/opleidings…
remvee 0fc299e
e2e: assert hoOpleiding data in RIO correctly upserted
remvee 9f57807
e2e: add gh actions workflow
remvee 84da0a7
e2e: add "try to create edspecs with invalid data" scenario
remvee 4165f2d
e2e: rename eduspec entity for clarity
remvee 5c5a88f
e2e: support remote entity programs with offerings
remvee 03cb997
e2e: add "create a program (for the edSpec child)" scenario
remvee eb73a4c
e2e: add "try to create a program with invalid data" scenario
remvee 422ea3e
e2e: add "create a course with its own edspec" scenario
remvee 1b1dff7
Fix rio.loader/getter expecting an ooapi/id instead of rio/opleidings…
remvee f9a3162
e2e: assert hoOpleiding data in RIO correctly upserted [FEEDBACK]
remvee e2d253d
e2e: support remote entity programs with offerings [FEEDBACK]
remvee 0c0469f
gh: upgrade gh actions
remvee b4ed154
e2e: github action on "workflow_dispatch" [WIP]
remvee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waarom is deze verandering er dan?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Omdat het stuk is zonder deze aanpassing. De
FIXME
heb ik toegevoegd omdat het hier natuurlijk om een bestuurcode gaat en er dus heel slordig gewoon een property misbruikt wordt.