Merge pull request #111 from cloudfoundry-community/fix-migrations #110
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Backend Tests | |
on: | |
push: | |
branches: | |
- develop | |
- master | |
pull_request: | |
jobs: | |
test_suite: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21.0' | |
cache-dependency-path: | | |
src/jetstream/go.sum | |
- name: Create extra_plugins.go | |
run: | | |
echo 'package main | |
// This file is auto-generated - DO NOT EDIT | |
import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/autoscaler" | |
import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/cloudfoundry" | |
import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/cfapppush" | |
import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/cfappssh" | |
import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/userinvite" | |
import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/analysis" | |
import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes" | |
import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/monocular"' > src/jetstream/extra_plugins.go | |
- name: Run tests | |
run: build/bk-build.sh test |