Repository navigation
fix(e2e): make the list filter suite run again #908
This file contains hidden or 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 | |
| - main | |
| - 'release/**' | |
| # tools/stb has its own gate (stb_tests.yml); skip the backend suite | |
| # for stb-only changes. | |
| paths-ignore: | |
| - 'tools/stb/**' | |
| permissions: | |
| contents: read | |
| env: | |
| GO_VERSION: '1.27' | |
| jobs: | |
| test_suite: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Go | |
| uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| cache-dependency-path: src/jetstream/go.sum | |
| - name: Create extra_plugins.go | |
| run: | | |
| cat > src/jetstream/extra_plugins.go << 'EOF' | |
| package main | |
| // This file is auto-generated - DO NOT EDIT | |
| import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/autoscaler" | |
| import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/cloudfoundry" | |
| import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/cfapppush" | |
| import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/cfappssh" | |
| import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/userinvite" | |
| import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/analysis" | |
| import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes" | |
| import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/monocular" | |
| EOF | |
| - name: Run tests | |
| run: make test backend |