13
13
runs-on : ubuntu-latest
14
14
outputs :
15
15
# fdiVersions: ${{ steps.versions.outputs.fdiVersions }}
16
- fdiVersions : ' ["4.0"]'
16
+ fdiVersions : ' ["4.0", "3.1" ]'
17
17
# cdiVersions: ${{ steps.versions.outputs.cdiVersions }}
18
18
cdiVersions : ' ["5.2"]'
19
19
# pyVersions: '["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]'
@@ -28,19 +28,21 @@ jobs:
28
28
has-cdi : true
29
29
30
30
test :
31
- name : Backend SDK Tests
32
31
runs-on : ubuntu-latest
33
32
needs : define-versions
33
+
34
34
strategy :
35
35
fail-fast : false
36
36
matrix :
37
37
cdi-version : ${{ fromJSON(needs.define-versions.outputs.cdiVersions) }}
38
38
fdi-version : ${{ fromJSON(needs.define-versions.outputs.fdiVersions) }}
39
39
py-version : ${{ fromJson(needs.define-versions.outputs.pyVersions) }}
40
40
node-version : ${{ fromJson(needs.define-versions.outputs.nodeVersions) }}
41
+
41
42
env :
42
43
API_PORT : 3030
43
44
ST_CONNECTION_URI : http://localhost:8081
45
+
44
46
steps :
45
47
- uses : actions/checkout@v4
46
48
with :
82
84
# version: ${{ matrix.fdi-version }}
83
85
version : ci/github-actions/containerized-core/4.0
84
86
path : backend-sdk-testing
85
-
86
- # - name: Setup backend-sdk-testing
87
- # working-directory: backend-sdk-testing
88
- # run: |
89
- # npm install
90
- # npm run build
91
-
92
- # - name: Run tests
93
- # working-directory: backend-sdk-testing
94
- # run: |
95
- # npm test
96
- # env:
97
- # SUPERTOKENS_CORE_TAG: ${{ steps.versions.outputs.coreTag }}
98
- # TEST_MODE: testing
99
- # NODE_PORT: 8081
100
-
101
- # - name: Fix paths
102
- # working-directory: backend-sdk-testing
103
- # if: always()
104
- # # Doing it in the shell since the Reporter's `transformers` don't seem to work
105
- # run: sed -i "s|$GITHUB_WORKSPACE/backend-sdk-testing/test||g" test-results.xml
106
-
107
- # - name: Reporter
108
- # # Alternative: dorny/test-reporter@v1 - does not create a summary
109
- # uses: mikepenz/action-junit-report@v5
110
- # if: always()
111
- # with:
112
- # report_paths: backend-sdk-testing/test-results.xml
113
- # check_name: Backend SDK Tests (${{matrix.cdi-version}}, ${{matrix.fdi-version}}, ${{matrix.node-version}})
114
- # # Include table with all test results in the summary
115
- # detailed_summary: true
116
- # # Group the testcases by test suite in the detailed_summary
117
- # group_suite: true
118
- # # Fail if no test are found.
119
- # require_tests: true
120
- # # Fail the build in case of a test failure.
121
- # fail_on_failure: true
0 commit comments