Update test_deploy_ui.yml #2543
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Checks | |
on: [push] | |
jobs: | |
test: | |
name: Test codebase | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Create .env-api, .env-issuer and .env-ui files | |
run: | | |
touch .env-api | |
touch .env-issuer | |
touch .env-ui | |
- name: Docker Compose | |
uses: hoverkraft-tech/[email protected] # Needs actions/checkout before | |
with: | |
compose-file: './infrastructure/local/docker-compose-infra.yml' | |
services: | | |
postgres | |
vault | |
test_local_files_apache | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.mod | |
cache: true | |
- run: make tests | |
env: | |
POSTGRES_TEST_DATABASE: postgres://postgres:postgres@localhost:5432 |