Skip to content

adding tests

adding tests #1

Workflow file for this run

name: Run Base Tests
on: [push, repository_dispatch, workflow_dispatch]
jobs:
run-base-test:
runs-on: ubuntu-latest
timeout-minutes: 40
steps:
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Checkout repository
uses: actions/checkout@v3
- name: Running Tests
run: >
docker run --network host
-v /var/run/docker.sock:/var/run/docker.sock
-v $(pwd):$(pwd)
-w $(pwd)
ghcr.io/zcaudate-xyz/infra-foundation-clean:main lein test
services:
postgres:
image: postgres:13
env:
POSTGRES_DB: test
POSTGRES_PASSWORD: postgres
POSTGRES_PORT: 5432
POSTGRES_USER: postgres
ports:
- 5432:5432