Import by id now works by finding the relevant subgraph in the provided namespace #50
Workflow file for this run
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: Terraform Provider CI | |
on: | |
pull_request: | |
paths-ignore: | |
- "README.md" | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "README.md" | |
concurrency: | |
group: ${{github.workflow}}-${{github.head_ref}} | |
cancel-in-progress: true | |
env: | |
CI: true | |
COSMO_API_KEY: cosmo_669b576aaadc10ee1ae81d9193425705 | |
COSMO_API_URL: http://localhost:3001 | |
TERRAFORM_VERSION: 1.9.5 | |
COMSO_REF: main | |
jobs: | |
build_test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
repository: wundergraph/cosmo | |
ref: ${{ env.COMSO_REF }} | |
path: cosmo | |
- uses: hoverkraft-tech/[email protected] | |
with: | |
compose-file: "cosmo/docker-compose.full.yml " | |
up-flags: "--remove-orphans --detach" | |
compose-flags: "--project-directory cosmo --profile default" | |
- run: scripts/setup-fulldemo.sh | |
working-directory: ./cosmo | |
- name: setup Terraform | |
uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: ${{ env.TERRAFORM_VERSION }} | |
- uses: actions/[email protected] | |
with: | |
go-version-file: "go.mod" | |
cache: true | |
- run: go mod download | |
- name: Run tests | |
run: make testacc | |
- name: Build | |
run: make build | |
- name: Install | |
run: make install | |
- name: Run e2e | |
run: make e2e |