-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
33 additions
and
33 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,10 +38,10 @@ jobs: | |
with: | ||
nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/6120ac5cd201f6cb593d1b80e861be0342495be9.tar.gz | ||
- name: Capture pnpm store location | ||
run: nix-shell --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run 'echo "pnpm-store-path=$(pnpm store path)" >> "$GITHUB_ENV"' | ||
run: nix-shell --quiet --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run 'echo "pnpm-store-path=$(pnpm store path)" >> "$GITHUB_ENV"' | ||
- name: Run tsc, eslint, depdendency-cruiser and the website tests | ||
if: steps.cache-editor-tests.outputs.cache-hit != 'true' | ||
run: nix-shell --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run check-editor-code-ci | ||
run: nix-shell --quiet --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run check-editor-code-ci | ||
|
||
test-editor-jest: | ||
name: Test Editor PR – Jest tests | ||
|
@@ -75,7 +75,7 @@ jobs: | |
nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/6120ac5cd201f6cb593d1b80e861be0342495be9.tar.gz | ||
- name: Run the Jest tests | ||
if: steps.cache-editor-tests.outputs.cache-hit != 'true' | ||
run: nix-shell --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run check-editor-jest-ci | ||
run: nix-shell --quiet --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run check-editor-jest-ci | ||
|
||
call-test-editor-karma-shard-1: | ||
name: Test Editor Shard 1 | ||
|
@@ -134,10 +134,10 @@ jobs: | |
nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/6120ac5cd201f6cb593d1b80e861be0342495be9.tar.gz | ||
- name: Start PostgreSQL | ||
if: steps.cache-server-tests.outputs.cache-hit != 'true' | ||
run: nix-shell --arg includeEditorBuildSupport false --arg includeRunLocallySupport false --arg includeDatabaseSupport true --run start-postgres-background | ||
run: nix-shell --quiet --arg includeEditorBuildSupport false --arg includeRunLocallySupport false --arg includeDatabaseSupport true --run start-postgres-background | ||
- name: Run the tests | ||
if: steps.cache-server-tests.outputs.cache-hit != 'true' | ||
run: nix-shell --arg includeEditorBuildSupport false --arg includeRunLocallySupport false --run test-server-ci | ||
run: nix-shell --quiet --arg includeEditorBuildSupport false --arg includeRunLocallySupport false --run test-server-ci | ||
|
||
deploy-branch: | ||
name: Deploy Branch Editor | ||
|
@@ -191,7 +191,7 @@ jobs: | |
env: | ||
USE_BFF: 'true' | ||
run: | | ||
nix-shell --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run build-editor-branches-ci | ||
nix-shell --quiet --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run build-editor-branches-ci | ||
- name: Send webpack stats to RelativeCI | ||
uses: relative-ci/[email protected] | ||
with: | ||
|
@@ -284,7 +284,7 @@ jobs: | |
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}-captured-location | ||
- name: Build Performance Tests | ||
run: | | ||
nix-shell --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run "build-puppeteer-tests" | ||
nix-shell --quiet --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run "build-puppeteer-tests" | ||
- name: Run Performance Test | ||
id: run-performance-test | ||
env: | ||
|
@@ -296,7 +296,7 @@ jobs: | |
PERFORMANCE_GRAPHS_PLOTLY_USERNAME: ${{ secrets.PERFORMANCE_GRAPHS_PLOTLY_USERNAME}} | ||
PERFORMANCE_GRAPHS_PLOTLY_API_KEY: ${{secrets.PERFORMANCE_GRAPHS_PLOTLY_API_KEY}} | ||
run: | | ||
nix-shell --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run "xvfb-run --server-args='-screen 0 1920x1080x24 -ac -nolisten tcp -dpi 96 +extension RANDR' run-puppeteer-test" | ||
nix-shell --quiet --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run "xvfb-run --server-args='-screen 0 1920x1080x24 -ac -nolisten tcp -dpi 96 +extension RANDR' run-puppeteer-test" | ||
- name: Find Comment | ||
uses: peter-evans/find-comment@v1 | ||
id: fc | ||
|
@@ -399,7 +399,7 @@ jobs: | |
BRANCH_NAME: ${{ steps.extract_branch.outputs.branch }} | ||
HEADLESS: 'true' | ||
run: | | ||
nix-shell --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run "cd puppeteer-tests; pnpm install --unsafe-perm; pnpm run system-test" | ||
nix-shell --quiet --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run "cd puppeteer-tests; pnpm install --unsafe-perm; pnpm run system-test" | ||
collaboration-test: | ||
name: Run Collaboration Tests | ||
|
@@ -432,14 +432,14 @@ jobs: | |
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}-captured-location | ||
- name: Build Comments Tests | ||
run: | | ||
nix-shell --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run "build-puppeteer-tests" | ||
nix-shell --quiet --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run "build-puppeteer-tests" | ||
- name: Run Comments Test | ||
id: run-comments-test | ||
env: | ||
BRANCH_NAME: ${{ steps.extract_branch.outputs.branch }} | ||
BASE_URL: 'https://utopia.fish' | ||
run: | | ||
nix-shell --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run "xvfb-run --server-args='-screen 0 1920x1080x24 -ac -nolisten tcp -dpi 96 +extension RANDR' run-collaboration-test" | ||
nix-shell --quiet --arg includeServerBuildSupport false --arg includeRunLocallySupport false --run "xvfb-run --server-args='-screen 0 1920x1080x24 -ac -nolisten tcp -dpi 96 +extension RANDR' run-collaboration-test" | ||
bff-test: | ||
name: Run BFF Tests | ||
|
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
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
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