You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run: dotnet test --no-restore -c Release -v n eform-angular-workflow-plugin/eFormAPI/Plugins/Workflow.Pn/Workflow.Pn.Test/Workflow.Pn.Test.csproj
158
+
run: dotnet test --no-restore -c Release -v n eform-angular-workflow-plugin/eFormAPI/Plugins/Workflow.Pn/Workflow.Pn.Test/Workflow.Pn.Test.csproj workflow-playwright-test:
159
+
needs: workflow-build
160
+
runs-on: ubuntu-22.04
161
+
strategy:
162
+
fail-fast: false
163
+
matrix:
164
+
test: [a,b,c,d]
165
+
steps:
166
+
- uses: actions/checkout@v3
167
+
with:
168
+
path: eform-angular-workflow-plugin
169
+
- name: Create docker network
170
+
run: docker network create --driver bridge data
171
+
- name: Start MariaDB
172
+
run: |
173
+
docker pull mariadb:10.8
174
+
docker run --name mariadbtest --network data -e MYSQL_ROOT_PASSWORD=secretpassword -p 3306:3306 -d mariadb:10.8
175
+
- name: Start rabbitmq
176
+
run: |
177
+
docker pull rabbitmq:latest
178
+
docker run -d --hostname my-rabbit --name some-rabbit --network data -e RABBITMQ_DEFAULT_USER=admin -e RABBITMQ_DEFAULT_PASS=password rabbitmq:latest
179
+
- uses: actions/download-artifact@v4
180
+
with:
181
+
name: workflow-container
182
+
- run: docker load -i workflow-container.tar
183
+
- name: Use Node.js
184
+
uses: actions/setup-node@v3
185
+
with:
186
+
node-version: 22
187
+
- name: 'Preparing Frontend checkout'
188
+
uses: actions/checkout@v3
189
+
with:
190
+
repository: microting/eform-angular-frontend
191
+
ref: stable
192
+
path: eform-angular-frontend
193
+
- name: Sleep 15 seconds
194
+
run: sleep 15
195
+
- name: Load DB dump
196
+
run: |
197
+
mysql -u root -h 127.0.0.1 --password=secretpassword -e 'create database `420_eform-angular-workflow-plugin`'
198
+
mysql -u root -h 127.0.0.1 --password=secretpassword 420_eform-angular-workflow-plugin < eform-angular-workflow-plugin/420_eform-angular-workflow-plugin.sql
run: docker exec -i mariadbtest mysql -u root --password=secretpassword -e 'update 420_SDK.Settings set Value = "my-rabbit" where Name = "rabbitMqHost"'
234
+
- name: Enable plugins
235
+
if: matrix.test != 'a'
236
+
run: |
237
+
docker exec -i mariadbtest mysql -u root --password=secretpassword -e 'update 420_Angular.EformPlugins set Status = 2'
0 commit comments