Skip to content

Commit

Permalink
Fixed CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
tonioo committed Feb 16, 2024
1 parent 038fbbc commit 33192b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ jobs:
coverage run --source ../modoboa_radicale manage.py test modoboa_radicale
coverage xml
coverage report
REDIS_HOST: localhost
REDIS_PORT: ${{ job.services.redis.ports[6379] }}
env:
# use localhost for the host here because we are running the job on the VM.
# If we were running the job on in a container this would be postgres
POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }} # get randomly assigned published port
MYSQL_HOST: 127.0.0.1
MYSQL_PORT: ${{ job.services.mysql.ports[3306] }} # get randomly assigned published port
MYSQL_USER: root
REDIS_HOST: localhost
REDIS_PORT: ${{ job.services.redis.ports[6379] }}
- name: Upload coverage result
if: ${{ matrix.python-version == '3.10' }}
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 33192b8

Please sign in to comment.