-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: tracked entity input (DHIS2-16023) (#451)
Adds support for tracked entity input and cross-program data dimension selection
- Loading branch information
1 parent
d4158cb
commit a59f19e
Showing
112 changed files
with
5,995 additions
and
1,593 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: 'e2e-dev' | ||
|
||
on: | ||
workflow_call: | ||
secrets: | ||
username: | ||
required: true | ||
password: | ||
required: true | ||
recordkey: | ||
required: true | ||
|
||
concurrency: | ||
group: e2e-dev-${{ github.workflow}}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
compute-dev-version: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
version: ${{ steps.instance-version.outputs.version }} | ||
steps: | ||
- name: Output dev version | ||
id: instance-version | ||
uses: dhis2/action-instance-version@v1 | ||
with: | ||
instance-url: https://test.e2e.dhis2.org/analytics-2.41d | ||
username: ${{ secrets.username }} | ||
password: ${{ secrets.password }} | ||
|
||
e2e-dev: | ||
needs: compute-dev-version | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
containers: [1, 2, 3, 4] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
|
||
- name: Run e2e tests | ||
uses: cypress-io/github-action@v5 | ||
with: | ||
start: yarn d2-app-scripts start | ||
wait-on: 'http://localhost:3000' | ||
wait-on-timeout: 300 | ||
record: true | ||
parallel: true | ||
browser: chrome | ||
group: e2e-chrome-parallel-dev | ||
env: | ||
BROWSER: none | ||
CYPRESS_RECORD_KEY: ${{ secrets.recordkey }} | ||
CYPRESS_dhis2BaseUrl: https://test.e2e.dhis2.org/analytics-2.41d | ||
CYPRESS_dhis2InstanceVersion: ${{ needs.compute-dev-version.outputs.version }} | ||
CYPRESS_dhis2Username: ${{ secrets.username }} | ||
CYPRESS_dhis2Password: ${{ secrets.password }} | ||
CYPRESS_networkMode: live | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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.