Skip to content

M2-6268: Merge backend feature-multiinformant #558

M2-6268: Merge backend feature-multiinformant

M2-6268: Merge backend feature-multiinformant #558

Workflow file for this run

name: Automated tests
on: [pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: KengoTODA/actions-setup-docker-compose@v1
with:
version: '2.23.3'
- name: "Running tests"
run: |
cp .env.default .env
echo -e "\nRABBITMQ__USE_SSL=False" >> .env
docker compose up -d
make dtest
on-failure:
runs-on: ubuntu-latest
if: ${{ always() && (needs.tests.result == 'failure' || needs.tests.result == 'timed_out') }}
needs:
- tests
steps:
- uses: actions/checkout@v4
- name: "Send Slack message on failure"
uses: rtCamp/action-slack-notify@v2
env:
SLACK_COLOR: failure
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL_TEST_WORKFLOW }}
SLACK_TITLE: Run Unit Tests
SLACK_MESSAGE: 'Error when executing Unit tests!'
on-success:
runs-on: ubuntu-latest
if: ${{ always() && (needs.tests.result == 'success') }}
needs:
- tests
steps:
- uses: actions/checkout@v4
- name: "Send Slack message on success"
uses: rtCamp/action-slack-notify@v2
env:
SLACK_COLOR: success
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL_TEST_WORKFLOW }}
SLACK_TITLE: Run Unit Tests
SLACK_MESSAGE: 'Unit tests performed successfully!'