-
-
Notifications
You must be signed in to change notification settings - Fork 13
43 lines (36 loc) · 1.12 KB
/
test.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
39
40
41
42
43
name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Checkout test runner
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
repository: exercism/8th-test-runner
token: ${{ secrets.TEST_RUNNER_PAT }}
path: 8th-test-runner
ref: main
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5
with:
install: true
- name: Build and push
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991
with:
context: 8th-test-runner
push: false
load: true
tags: exercism/8th-test-runner:latest
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: ZIP_PASSWORD=${{secrets.ZIP_PASSWORD}}
- name: Run tests for all exercises
run: bin/verify-exercises-in-docker