nuclei/.github/workflows/functional-test.yml

34 lines
690 B
YAML
Raw Normal View History

2021-08-02 06:15:15 +00:00
name: 🧪 Functional Test
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:
functional:
2021-08-02 06:15:15 +00:00
name: Functional Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
2021-08-02 06:15:15 +00:00
steps:
- name: Set up Go
uses: actions/setup-go@v4
2021-08-02 06:15:15 +00:00
with:
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
uses: actions/checkout@v3
2021-08-02 06:32:40 +00:00
2021-08-02 06:15:15 +00:00
- name: Functional Tests
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
bash run.sh ${{ matrix.os }}
working-directory: cmd/functional-test