diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7c51a7b4..e827f613 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,6 +7,8 @@ on: tags: - "*" pull_request: + schedule: + - cron: "0 0 * * *" jobs: test: diff --git a/.github/workflows/test-integration.yaml b/.github/workflows/test-integration.yaml index 5eb155ff..0d93f5ad 100644 --- a/.github/workflows/test-integration.yaml +++ b/.github/workflows/test-integration.yaml @@ -8,8 +8,9 @@ on: - master env: - ORY_PROJECT_ID: "6c2ec103-0b67-4cfe-a975-8008ede7d2ff" - ORY_WORKSPACE_ID: "d4c796bf-6062-4cf0-87fc-5fcbf41743bb" + # project & workspace are managed in Ory Cloud tech integration workspace. + ORY_PROJECT_ID: "3b188173-833c-4074-995c-9085a72c8112" + ORY_WORKSPACE_ID: "f77d4982-46f1-42cd-8d02-8bccfa54f8f7" ORY_WORKSPACE_API_KEY: ${{ secrets.ORY_WORKSPACE_API_KEY }} jobs: diff --git a/cmd/cloudx/project/update_test.go b/cmd/cloudx/project/update_test.go index da7b5886..e7cc2b1b 100644 --- a/cmd/cloudx/project/update_test.go +++ b/cmd/cloudx/project/update_test.go @@ -46,7 +46,7 @@ func TestUpdateProject(t *testing.T) { subcommand: "project", pathSuccess: "fixtures/update/json/config.json", pathFailure: "fixtures/update/fail/config.json", - failureContains: "minimum 1 items allowed", + failureContains: "field `identities.default_schema_id` can not be empty", fixture: fixtureProject, }, { @@ -54,7 +54,7 @@ func TestUpdateProject(t *testing.T) { projectFlag: "--project", pathSuccess: "fixtures/update-kratos/json/config.json", pathFailure: "fixtures/update-kratos/fail/config.json", - failureContains: "minimum 1 items allowed", + failureContains: "field `identities.default_schema_id` can not be empty", fixture: fixtureKratosConfig, }, {