-
Notifications
You must be signed in to change notification settings - Fork 7
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
1 parent
206dcd9
commit 6ed7005
Showing
34 changed files
with
25,906 additions
and
35,714 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,7 @@ src/.npm | |
src/_tmp | ||
src/.cache | ||
src/.config | ||
src/.nyc_output | ||
src/dist | ||
**/.next | ||
_data |
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 |
---|---|---|
@@ -1,22 +1,29 @@ | ||
FROM cypress/included:12.17.4 | ||
|
||
# Copy of the source for code coverage analysis | ||
WORKDIR /app | ||
COPY src/. ./ | ||
|
||
RUN npm install --legacy-peer-deps | ||
|
||
RUN npx nyc instrument --compact=false . --in-place | ||
|
||
# Cypress E2E | ||
WORKDIR /e2e | ||
|
||
RUN apt-get -y update; apt-get -y install curl | ||
COPY package.json /e2e | ||
COPY package-lock.json /e2e | ||
COPY e2e/package.json /e2e | ||
COPY e2e/package-lock.json /e2e | ||
RUN npm install | ||
|
||
COPY cypress.config.ts /e2e | ||
COPY tsconfig.json /e2e | ||
COPY *.yml /e2e | ||
COPY entrypoint.sh /tmp | ||
ADD cypress /e2e/cypress | ||
COPY e2e/cypress.config.ts /e2e | ||
COPY e2e/tsconfig.json /e2e | ||
COPY e2e/*.yml /e2e | ||
COPY e2e/entrypoint.sh /tmp | ||
ADD e2e/cypress /e2e/cypress | ||
|
||
RUN curl -v -L -O https://github.com/bcgov/gwa-cli/releases/download/v2.0.15/gwa_Linux_x86_64.tgz \ | ||
&& tar -xzf gwa_Linux_x86_64.tgz \ | ||
&& mv gwa /usr/local/bin/. | ||
|
||
|
||
|
||
ENTRYPOINT ["npm", "run", "cy:run:html"] |
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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.