diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 28ef3ff2..67237654 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -34,11 +34,27 @@ jobs: --health-retries 5 ports: - 5432:5432 + mcaptcha-redis: image: mcaptcha/cache ports: - 6379:6379 + maria: + image: mariadb + env: MARIADB_USER:maria + MARIADB_PASSWORD:password + MARIADB_ROOT_PASSWORD:password + MARIADB_DATABASE:maria + options: >- + --health-cmd="mysqladmin ping" + --health-interval=10s + --health-timeout=5s + --health-retries=10 + ports: + - 3306:3306 + + steps: - uses: actions/checkout@v2 - name: ⚡ Cache diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index fb8a5af2..8dc82cca 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -8,7 +8,8 @@ on: push: branches: - master - - db-abstract + - "*" + - !gh-pages jobs: build_and_test: @@ -37,13 +38,14 @@ jobs: --health-retries 5 ports: - 5432:5432 + mcaptcha-redis: image: mcaptcha/cache ports: - 6379:6379 mcaptcha-smtp: image: maildev/maildev - env: + env: MAILDEV_WEB_PORT: "1080" MAILDEV_INCOMING_USER: "admin" MAILDEV_INCOMING_PASS: "password" @@ -51,6 +53,20 @@ jobs: - 1080:1080 - 10025:1025 + maria: + image: mariadb + env: MARIADB_USER:maria + MARIADB_PASSWORD:password + MARIADB_ROOT_PASSWORD:password + MARIADB_DATABASE:maria + options: >- + --health-cmd="mysqladmin ping" + --health-interval=10s + --health-timeout=5s + --health-retries=10 + ports: + - 3306:3306 + steps: - uses: actions/checkout@v2 - name: ⚡ Cache