1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-10-01 00:06:11 -04:00
v2fly/.github/workflows/test.yml

30 lines
558 B
YAML
Raw Normal View History

name: Test
on:
push:
2020-08-24 04:09:51 -04:00
branches: [master]
pull_request:
2020-08-24 04:09:51 -04:00
branches: [master]
jobs:
2020-08-24 04:09:51 -04:00
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.14
2020-08-24 04:09:51 -04:00
- name: Checkout default branch
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Test
run: go test -parallel 1 -timeout 6h -v ./...