mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
remove travis
This commit is contained in:
1
.github/scripts/setup_examples_test.bash
vendored
1
.github/scripts/setup_examples_test.bash
vendored
@@ -4,6 +4,7 @@ for f in ../../_examples/*; do
|
||||
if [ -d "$f" ]; then
|
||||
# Will not run if no directories are available
|
||||
go mod init
|
||||
go get -u github.com/kataras/iris/v12@master
|
||||
go mod download
|
||||
go run .
|
||||
fi
|
||||
|
||||
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -25,9 +25,13 @@ jobs:
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Test
|
||||
run: go test -v ./...
|
||||
|
||||
- name: Setup examples for testing
|
||||
run: ./.github/scripts/setup_examples_test.bash
|
||||
|
||||
- name: Test examples
|
||||
continue-on-error: true
|
||||
working-directory: _examples
|
||||
run: go test -v -mod=mod -cover -race ./...
|
||||
|
||||
Reference in New Issue
Block a user