Skip to content

fix: reactivate notification rules #16

fix: reactivate notification rules

fix: reactivate notification rules #16

Workflow file for this run

name: Tests
on:
push:
pull_request:
branches: [ master ]
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
jobs:
test-postgres:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Docker Lint
id: docker-lint
run: |
docker run --rm -i ghcr.io/hadolint/hadolint hadolint \
--ignore DL3008 \
--ignore DL3059 \
- < Dockerfile
- name: Run tests
id: smoketest
run: |
docker-compose -f tests/docker-compose.test.postgres.yml build \
--build-arg VCS_REF=${{ github.sha }} \
--build-arg VERSION=$(cat VERSION)
docker-compose -f tests/docker-compose.test.postgres.yml up --exit-code-from tester
- uses: act10ns/slack@v2
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
if: always()
test-mongodb:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Docker Lint
id: docker-lint
run: |
docker run --rm -i ghcr.io/hadolint/hadolint hadolint \
--ignore DL3008 \
--ignore DL3059 \
- < Dockerfile
- name: Run tests
id: smoketest
run: |
docker-compose -f tests/docker-compose.test.mongodb.yml build \
--build-arg VCS_REF=${{ github.sha }} \
--build-arg VERSION=$(cat VERSION)
docker-compose -f tests/docker-compose.test.mongodb.yml up --exit-code-from tester
- uses: act10ns/slack@v2
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
if: always()