-
-
Notifications
You must be signed in to change notification settings - Fork 23
52 lines (51 loc) · 1.54 KB
/
test-integration.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
44
45
46
47
48
49
50
51
52
name: Integration Tests
on:
push:
branches-ignore:
- 'gh-pages'
pull_request:
branches-ignore:
- 'gh-pages'
jobs:
test:
runs-on: ${{ matrix.os }}
# continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
go-version: ["1.18"]
os: [ubuntu-latest, macos-latest]
# NOTE: continue-on-error still marks test as failed in UI, see
# https://github.com/actions/toolkit/issues/399. Disabling expected
# failing Windows integration test for now to avoid confusion.
#
# experimental: [false]
# include:
# - os: windows-latest
# go-version: 1.17.x
# experimental: true
steps:
# current build script requires git history to create a version number
- name: Checkout code with full history
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
- name: Build binary
run: rake build
- name: Install shells on ubuntu
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get -y install zsh fish
- name: Install shells on macos
if: matrix.os == 'macos-latest'
run: brew install fish
- name: Run integration Tests
run: bundle exec cucumber -s --tags="not @wip" --color