mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
let's see
This commit is contained in:
34
.github/workflows/ci.yml
vendored
Normal file
34
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
go_version: [1.15, 1.16]
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.x
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: ${{ matrix.go_version }}
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup examples for testing
|
||||
working-directory: _examples
|
||||
run: ./.github/scripts/setup_examples_test.bash
|
||||
|
||||
- name: Test examples
|
||||
working-directory: _examples
|
||||
run: go test -v -mod=mod -cover -race ./...
|
||||
Reference in New Issue
Block a user