We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 030bb02 commit 2427e79Copy full SHA for 2427e79
.github/workflows/job-container-image-build.yml
@@ -42,3 +42,22 @@ jobs:
42
push: true
43
cache-from: type=gha
44
cache-to: type=gha,mode=max
45
+
46
+ test:
47
+ runs-on: ubuntu-latest
48
+ needs: docker
49
50
+ steps:
51
+ - name: Checkout repository
52
+ uses: actions/checkout@v4
53
54
+ - name: Run tests from Docker image
55
+ run: |
56
+ output=$(docker run -v ./docs:/app/svg --user $(id -u):1000 --rm ghcr.io/symflower/eval-dev-quality:${GITHUB_SHA::7} svgexport /app/svg/cta.svg /app/svg/cta.png)
57
58
+ expected="/app/svg/cta.svg /app/svg/cta.png png 100% 1x 0:0:1920:400 1920:400"
59
+ if [ "$output" == "$expected" ]; then
60
+ exit 0
61
+ else
62
+ exit 1
63
+ fi
0 commit comments