Skip to content

Commit

Permalink
Merge branch 'canary' into 10-31-fix_should_toggle_empty_input_when_g…
Browse files Browse the repository at this point in the history
…enerate_an_image_action_in_note
  • Loading branch information
donteatfriedrice authored Nov 1, 2024
2 parents f069cdb + 1f6cce2 commit 978c13b
Show file tree
Hide file tree
Showing 185 changed files with 3,297 additions and 2,075 deletions.
45 changes: 0 additions & 45 deletions .github/actions/copilot-test/action.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ inputs:
description: 'Download the Electron binary'
required: false
default: 'true'
corepack-install:
description: 'Install CorePack'
required: false
default: 'false'
hard-link-nm:
description: 'set nmMode to hardlinks-local in .yarnrc.yml'
required: false
Expand All @@ -46,11 +42,6 @@ runs:
registry-url: https://npm.pkg.github.com
scope: '@toeverything'

- name: Init CorePack
if: ${{ inputs.corepack-install == 'true' }}
shell: bash
run: corepack enable

- name: Set nmMode
if: ${{ inputs.hard-link-nm == 'false' }}
shell: bash
Expand Down
50 changes: 4 additions & 46 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -392,49 +392,6 @@ jobs:
name: affine
fail_ci_if_error: false

copilot-e2e-test:
name: Server Copilot E2E Test
runs-on: [self-hosted, copilot-ci]
env:
DISTRIBUTION: web
DATABASE_URL: postgresql://affine:affine@localhost:5432/affine
IN_CI_TEST: true
needs:
- build-server-native
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: affine
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
corepack-install: true
playwright-install: true
hard-link-nm: false

- name: Download server-native.node
uses: actions/download-artifact@v4
with:
name: server-native.node
path: ./packages/backend/server

- name: Run Copilot E2E Test
uses: ./.github/actions/copilot-test
with:
openai-key: ${{ secrets.COPILOT_OPENAI_API_KEY }}
fal-key: ${{ secrets.COPILOT_FAL_API_KEY }}

server-e2e-test:
name: ${{ matrix.tests.name }}
runs-on: ubuntu-latest
Expand Down Expand Up @@ -654,12 +611,14 @@ jobs:
path: ./test-results
if-no-files-found: ignore

test-build-ios:
test-build-mobile-app:
uses: ./.github/workflows/release-mobile.yml
with:
build-type: canary
build-target: development
secrets: inherit
permissions:
id-token: 'write'

test-done:
needs:
Expand All @@ -674,10 +633,9 @@ jobs:
- build-server-native
- build-electron-renderer
- server-test
- copilot-e2e-test
- server-e2e-test
- desktop-test
- test-build-ios
- test-build-mobile-app
if: always()
runs-on: ubuntu-latest
name: 3, 2, 1 Launch
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/copilot-test-automatically.yml

This file was deleted.

76 changes: 0 additions & 76 deletions .github/workflows/copilot-test.yml

This file was deleted.

Loading

0 comments on commit 978c13b

Please sign in to comment.