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 71c434f commit b63ff6dCopy full SHA for b63ff6d
.github/workflows/test-build.yaml
@@ -0,0 +1,25 @@
1
+name: Run tests
2
+
3
+on: pull_request
4
5
+jobs:
6
+ run_test:
7
+ runs-on: ubuntu-latest
8
9
+ steps:
10
+ - name: Checkout code
11
+ uses: actions/checkout@v2
12
13
+ - name: Build test image
14
+ uses: docker/build-push-action@v2
15
+ with:
16
+ context: .
17
+ file: infra/Dockerfile
18
+ push: false
19
+ target: "test"
20
+ tags: ghcr.io/${{ github.repository }}:${{ github.sha }}
21
22
+ - name: Run tests
23
+ run: |-
24
+ docker run --rm \
25
+ ghcr.io/${{ github.repository }}:${{ github.sha }}
0 commit comments