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:
|
2022-12-05 12:52:55 +00:00
|
|
|
paths:
|
|
|
|
- '**.go'
|
2021-08-02 06:15:15 +00:00
|
|
|
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:
|
2023-06-26 17:25:51 +00:00
|
|
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
2021-08-02 06:15:15 +00:00
|
|
|
steps:
|
|
|
|
- name: Set up Go
|
2023-03-20 05:57:09 +00:00
|
|
|
uses: actions/setup-go@v4
|
2021-08-02 06:15:15 +00:00
|
|
|
with:
|
2023-10-13 07:47:27 +00:00
|
|
|
go-version: 1.21.x
|
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 }}
|
2023-10-17 12:14:13 +00:00
|
|
|
working-directory: cmd/functional-test
|