Skip to content

Commit

Permalink
Move to use seven cookieplone-template
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Jan 22, 2025
1 parent b1a2602 commit 01b0d6d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/cookieplone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ jobs:
- name: Generate Cookieplone-based frontend addon
run: |
pipx install cookieplone
pipx run cookieplone . --no-input
COOKIEPLONE_REPOSITORY_TAG=seventemplate pipx run --no-cache cookieplone seven_addon --no-input
- name: Install generated package
working-directory: 'project-title/frontend'
working-directory: seven-add-on
run: |
make install
(cd core && git checkout -b ${GITHUB_REF#refs/heads/})
pnpm install
make build-deps
- name: Cypress acceptance tests
uses: cypress-io/github-action@v6
Expand All @@ -43,7 +45,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
install: false
working-directory: packages/seven
working-directory: seven-add-on
browser: chrome
spec: cypress/tests/core/basic/**/*.cy.ts
start: |
Expand Down
2 changes: 1 addition & 1 deletion packages/seven/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ deployment-ci-acceptance-test-run-all: ## With a single command, run the backend

.PHONY: project-acceptance-frontend-prod-start
project-acceptance-frontend-prod-start: build-deps ## Start acceptance frontend in production mode for project tests
(cd ../../project-title && pnpm --filter seven build && REGISTRYCONFIG=$(CURRENT_DIR)/testing/registry.config.ts PLONE_API_PATH=http://127.0.0.1:55001/plone pnpm --filter seven start:prod)
(cd ../../project-title && pnpm build && PLONE_API_PATH=http://127.0.0.1:55001/plone start:prod)

######### Core Sandbox Acceptance tests

Expand Down
6 changes: 0 additions & 6 deletions packages/seven/tests/registry.config.ts

This file was deleted.

0 comments on commit 01b0d6d

Please sign in to comment.