Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
leximpact-socio-fiscal-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
Simulateur socio-fiscal
leximpact-socio-fiscal-ui
Commits
a988c9e3
Commit
a988c9e3
authored
3 years ago
by
Emmanuel Raviart
Browse files
Options
Downloads
Patches
Plain Diff
Disable tests from CI, because they use too much RAM.
parent
9edf197a
No related branches found
No related tags found
No related merge requests found
Pipeline
#4275
passed
3 years ago
Stage: build
Changes
2
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
gitlab-ci/src/gitlab-ci.ts
+2
-2
2 additions, 2 deletions
gitlab-ci/src/gitlab-ci.ts
playwright.config.ts
+1
-0
1 addition, 0 deletions
playwright.config.ts
with
3 additions
and
2 deletions
gitlab-ci/src/gitlab-ci.ts
+
2
−
2
View file @
a988c9e3
...
@@ -201,7 +201,7 @@ async function main() {
...
@@ -201,7 +201,7 @@ async function main() {
// Test project with the current dependencies (and latest version of @leximpact/socio-fiscal-openfisca-json).
// Test project with the current dependencies (and latest version of @leximpact/socio-fiscal-openfisca-json).
await
$
`ln -s example.env .env`
await
$
`ln -s example.env .env`
await
$
`npm run build`
await
$
`npm run build`
await
$
`npm test`
//
await $`npm test`
await
$
`git add .`
await
$
`git add .`
if
((
await
$
`git diff --quiet --staged`
.
exitCode
)
!==
0
)
{
if
((
await
$
`git diff --quiet --staged`
.
exitCode
)
!==
0
)
{
...
@@ -248,7 +248,7 @@ async function main() {
...
@@ -248,7 +248,7 @@ async function main() {
// Test project with the current dependencies (and latest @leximpact/socio-fiscal-openfisca-json).
// Test project with the current dependencies (and latest @leximpact/socio-fiscal-openfisca-json).
await
$
`ln -s example.env .env`
await
$
`ln -s example.env .env`
await
$
`npm run build`
await
$
`npm run build`
await
$
`npm test`
//
await $`npm test`
if
(
CI_COMMIT_BRANCH
===
CI_DEFAULT_BRANCH
)
{
if
(
CI_COMMIT_BRANCH
===
CI_DEFAULT_BRANCH
)
{
// A merge request has been merged into master (ie content of project has been changed).
// A merge request has been merged into master (ie content of project has been changed).
...
...
This diff is collapsed.
Click to expand it.
playwright.config.ts
+
1
−
0
View file @
a988c9e3
...
@@ -4,6 +4,7 @@ const config: PlaywrightTestConfig = {
...
@@ -4,6 +4,7 @@ const config: PlaywrightTestConfig = {
webServer
:
{
webServer
:
{
command
:
"
npm run build && npm run preview
"
,
command
:
"
npm run build && npm run preview
"
,
port
:
3000
,
port
:
3000
,
timeout
:
1200000
,
// in milliseconds
},
},
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment