feat: CI: configure and run conductor instance while testing

This commit is contained in:
Aravinth Manivannan 2022-12-15 01:01:59 +05:30
parent 8a2ada891e
commit 5350b22ffe
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
2 changed files with 6 additions and 0 deletions

View file

@ -68,6 +68,9 @@ jobs:
- name: download deps - name: download deps
run: make dev-env run: make dev-env
env:
LPCONDUCTOR_CREDS_USERNAME: "librepages_api"
LPCONDUCTOR_CREDS_PASSWORD: "longrandomlygeneratedpassword"
- name: Apply migrations - name: Apply migrations
run: make migrate run: make migrate

View file

@ -55,6 +55,9 @@ jobs:
- name: download deps - name: download deps
run: make dev-env run: make dev-env
env:
LPCONDUCTOR_CREDS_USERNAME: "librepages_api"
LPCONDUCTOR_CREDS_PASSWORD: "longrandomlygeneratedpassword"
- name: configure GPG key - name: configure GPG key
if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'realaravinth/librepages' if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'realaravinth/librepages'