2021-08-02 06:15:15 +00:00
|
|
|
name: 🧪 Functional Test
|
2022-11-23 11:43:52 +00:00
|
|
|
|
2021-08-02 06:15:15 +00:00
|
|
|
on:
|
|
|
|
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
|
2022-04-11 08:33:19 +00:00
|
|
|
uses: actions/setup-go@v3
|
2021-08-02 06:15:15 +00:00
|
|
|
with:
|
2022-04-18 12:43:37 +00:00
|
|
|
go-version: 1.18
|
2021-08-02 06:15:15 +00:00
|
|
|
|
2021-08-02 06:32:40 +00:00
|
|
|
- name: Check out code
|
2022-03-07 05:04:20 +00:00
|
|
|
uses: actions/checkout@v3
|
2021-08-02 06:32:40 +00:00
|
|
|
|
2021-08-02 06:15:15 +00:00
|
|
|
- name: Functional Tests
|
2021-12-14 16:13:53 +00:00
|
|
|
env:
|
|
|
|
GH_ACTION: true
|
2022-03-02 16:02:51 +00:00
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
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
|