-
Notifications
You must be signed in to change notification settings - Fork 2
executable file
·38 lines (36 loc) · 1.19 KB
/
full.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: run full tests
on: [push]
permissions:
contents: read
packages: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: run shellcheck
uses: sudo-bot/action-shellcheck@latest
with:
cli-args: "--format=checkstyle --severity=info --enable=all scripts/*.sh"
run-all:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Docker compose version
run: docker compose version
- name: Login to GitHub registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: create temp folder
run: make create-temp-env
- name: setup for tests
run: make setup-test
- name: run docker-test
run: make run-test
env:
IMAGE_TAG: ghcr.io/datacenters-network/mails/mailserver
- name: teardown tests
run: make cleanup-test