Skip to content

Commit 021e929

Browse files
committed
sync
1 parent 55f7a63 commit 021e929

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/docker-publish.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,19 @@ env:
1212
IMAGE_NAME: ghcr.io/${{ github.repository }}
1313

1414
jobs:
15+
test:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v2
19+
20+
- name: Run tests
21+
run: |
22+
if [ -f docker-compose.test.yml ]; then
23+
docker-compose --file docker-compose.test.yml build
24+
docker-compose --file docker-compose.test.yml run sut
25+
else
26+
docker build . --file Dockerfile
27+
fi
1528
push:
1629
needs: test
1730
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)