2021-08-02 06:15:15 +00:00
|
|
|
name: 🧪 Functional Test
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
2021-08-23 18:20:45 +00:00
|
|
|
functional:
|
2021-08-02 06:15:15 +00:00
|
|
|
name: Functional Test
|
2021-12-16 08:17:29 +00:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2021-12-18 12:59:13 +00:00
|
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
2021-08-02 06:15:15 +00:00
|
|
|
steps:
|
|
|
|
- name: Set up Go
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
with:
|
2021-09-01 10:10:53 +00:00
|
|
|
go-version: 1.17
|
2021-08-02 06:15:15 +00:00
|
|
|
|
2021-08-02 06:32:40 +00:00
|
|
|
- name: Check out code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2021-08-02 06:15:15 +00:00
|
|
|
- name: Functional Tests
|
2021-12-14 16:13:53 +00:00
|
|
|
env:
|
|
|
|
GH_ACTION: true
|
2021-08-02 06:15:15 +00:00
|
|
|
run: |
|
|
|
|
chmod +x run.sh
|
2021-12-16 08:17:29 +00:00
|
|
|
bash run.sh ${{ matrix.os }}
|
|
|
|
working-directory: v2/cmd/functional-test
|