Skip to content

Commit f4c713e

Browse files
committed
feat: CICD for automated testing
1 parent 5d2e360 commit f4c713e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/tests.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Web server integration tests
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- master
8+
9+
jobs:
10+
container-job:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Setup ddev
14+
uses: jonaseberle/github-action-setup-ddev@v1
15+
run: ddev --help
16+
# services:
17+
# mysql:
18+
# image: mysql:5.7
19+
# env:
20+
# MYSQL_DATABASE: testdb
21+
# MYSQL_USER: testdb
22+
# MYSQL_PASSWORD: mysqlpass
23+
# MYSQL_ROOT_PASSWORD: mysqlpass
24+
# ports:
25+
# - 3306:3306
26+
# options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3

0 commit comments

Comments
 (0)