File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 run :
1818 working-directory : server/java-spring
1919
20+ env :
21+ MONGODB_URI : ${{ secrets.MFLIX_URI }}
22+ ENABLE_SEARCH_TESTS : true
23+
2024 steps :
2125 - name : Checkout code
2226 uses : actions/checkout@v5
@@ -32,17 +36,10 @@ jobs:
3236 run : chmod +x mvnw
3337
3438 - name : Run unit tests
35- run : |
36- export MONGODB_URI="${{ secrets.MFLIX_URI }}"
37- ./mvnw test
38- shell : bash
39+ run : ./mvnw test
3940
4041 - name : Run integration tests
41- run : |
42- export MONGODB_URI="${{ secrets.MFLIX_URI }}"
43- export ENABLE_SEARCH_TESTS=true
44- ./mvnw test -Dtest=MongoDBSearchIntegrationTest
45- shell : bash
42+ run : ./mvnw test -Dtest=MongoDBSearchIntegrationTest
4643 continue-on-error : true
4744
4845 - name : Upload test results
Original file line number Diff line number Diff line change 138138 -javaagent:${settings.localRepository} /net/bytebuddy/byte-buddy-agent/${byte-buddy.version} /byte-buddy-agent-${byte-buddy.version} .jar
139139 -Xshare:off
140140 </argLine >
141- <!-- Inherit all environment variables from parent process -->
142- <environmentVariables >
143- <MONGODB_URI >${env.MONGODB_URI} </MONGODB_URI >
144- <ENABLE_SEARCH_TESTS >${env.ENABLE_SEARCH_TESTS} </ENABLE_SEARCH_TESTS >
145- </environmentVariables >
146141 </configuration >
147142 </plugin >
148143
You can’t perform that action at this time.
0 commit comments