Skip to content

Merge pull request #141 from crossplane-contrib/renovate/sigs.k8s.io-… #1

Merge pull request #141 from crossplane-contrib/renovate/sigs.k8s.io-…

Merge pull request #141 from crossplane-contrib/renovate/sigs.k8s.io-… #1

Workflow file for this run

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