1 parent
76bc24d2bd
commit
01cbdc9875
73 files changed
+4722
-538
No files matched your search
@@ -19,6 +19,14 @@ jobs:
|
||||
test:
|
||||
name: Docker tests
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
mysql:
|
||||
image: mysql
|
||||
env:
|
||||
MYSQL_DATABASE: pmail
|
||||
MYSQL_ROOT_PASSWORD: githubTest
|
||||
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
|
||||
|
||||
container:
|
||||
image: golang
|
||||
env:
|
||||
@@ -51,3 +59,13 @@ jobs:
|
||||
|
||||
- name: Run Test
|
||||
run: make test
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dbfile
|
||||
path: server/config/pmail_temp.db
|
||||
|
||||
|
||||
- name: Run Test Mysql
|
||||
run: make test_mysql
|
||||
|
||||
Reference in new issue
Block a user