Merge pull request #141 from crossplane-contrib/renovate/sigs.k8s.io-… #1
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: Function KCL e2e tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
GO_VERSION: '1.22' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Start Function Server | |
run: | | |
go run . --insecure --debug & | |
sleep 10 | |
- name: Setup the Crossplane CLI | |
run: "curl -sL https://raw.githubusercontent.com/crossplane/crossplane/master/install.sh | sh" | |
- name: Run e2e Tests | |
run: export PATH=$PATH:$PWD && scripts/e2e.sh |