diff --git a/.github/workflows/codacy-coverage.yml b/.github/workflows/codacy-coverage.yml index e88b3d2f0..ab2d236fd 100644 --- a/.github/workflows/codacy-coverage.yml +++ b/.github/workflows/codacy-coverage.yml @@ -8,12 +8,14 @@ on: jobs: coverage: env: - DB_DATABASE: testing + DB_DATABASE: testing DB_ROOT_PASSWORD: secretroot DB_HOST: 127.0.0.1 APP_KEY: base64:1NxfrNErQ0vo1ZnPcLeVhnE7tOZdKlKiFORzPA92krM= runs-on: ubuntu-latest + name: Checkout + services: mysql: image: mysql:latest @@ -25,7 +27,6 @@ jobs: - 3306 options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 --name=mysql - name: Checkout steps: - name: Checkout code diff --git a/.github/workflows/code-climate.yml b/.github/workflows/code-climate.yml index f87bfecd4..35f3054af 100644 --- a/.github/workflows/code-climate.yml +++ b/.github/workflows/code-climate.yml @@ -65,9 +65,6 @@ jobs: uses: paambaati/codeclimate-action@v9.0.0 env: CC_TEST_REPORTER_ID: 49c2958be5b2f72fa7202fd4b91b4668cbfefa9aa51e949b8a0bde13bc893ae5 - DB_PORT: ${{ job.services.mysql.ports[3306] }} - DB_HOST: 127.0.0.1 - DB_USER: root - DB_PASSWORD: secretroot with: coverageCommand: vendor/bin/pest --coverage-clover clover.xml +