File tree Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Original file line number Diff line number Diff line change 75
75
- name : Run Unit Tests
76
76
run : docker compose exec appwrite test /usr/src/code/tests/unit
77
77
78
- e2e_test :
79
- name : E2E Test
78
+ e2e_general_test :
79
+ name : E2E General Test
80
+ runs-on : ubuntu-latest
81
+ needs : setup
82
+ steps :
83
+ - name : checkout
84
+ uses : actions/checkout@v3
85
+
86
+ - name : Load Cache
87
+ uses : actions/cache@v3
88
+ with :
89
+ key : ${{ env.CACHE_KEY }}
90
+ path : /tmp/${{ env.IMAGE }}.tar
91
+ fail-on-cache-miss : true
92
+
93
+ - name : Load and Start Appwrite
94
+ run : |
95
+ docker load --input /tmp/${{ env.IMAGE }}.tar
96
+ docker compose up -d
97
+ sleep 10
98
+
99
+ - name : Run General Tests
100
+ run : docker compose exec -T appwrite test /usr/src/code/tests/e2e/General --debug
101
+
102
+ e2e_service_test :
103
+ name : E2E Service Test
80
104
runs-on : ubuntu-latest
81
105
needs : setup
82
106
strategy :
@@ -119,4 +143,4 @@ jobs:
119
143
sleep 10
120
144
121
145
- name : Run ${{matrix.service}} Tests
122
- run : docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --debug
146
+ run : docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --debug
You can’t perform that action at this time.
0 commit comments