forked from pact-foundation/pact-broker-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (26 loc) · 757 Bytes
/
test.yml
File metadata and controls
32 lines (26 loc) · 757 Bytes
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
name: Test
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- run: "bundle install"
- run: "bundle exec rake"
- name: Setup Docker builder
run: ./script/release-workflow/docker-prepare.sh
- name: Build Docker image for single platform
run: ./script/release-workflow/docker-build.sh
- uses: KengoTODA/actions-setup-docker-compose@v1
if: ${{ env.ACT }}
name: Install `docker-compose` for use with https://github.com/nektos/act
with:
version: '2.15.1'
- name: Integration tests
run: script/test.sh
env:
TAG: latest-amd64