Skip to content

Commit

Permalink
tests added
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-viber committed Mar 13, 2024
1 parent 3f49ed2 commit 3315039
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,11 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: ${{ env.REGISTRY_IMAGE }}:${{ steps.extract_branch.outputs.TagName }}
- name: Tests
shell: bash
run: |
docker run --name build_test_master_unbound-tls -p 5753:53 -p 5753:53/udp -d ${{ env.REGISTRY_IMAGE }}:${{ steps.extract_branch.outputs.TagName }}
sleep 10; dig +short a -p 5753 @127.0.0.1 google.com
docker stop build_test_master_unbound-tls; sleep 5; docker rm build_test_master_unbound-tls
echo "Test passed!!!"

0 comments on commit 3315039

Please sign in to comment.