Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grégoire Locqueville
haskell-gargantext
Commits
a2aec781
Commit
a2aec781
authored
1 year ago
by
Alfredo Di Napoli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Temporarily disable docs step in CI, it hides failures
parent
d343f205
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
22 deletions
+21
-22
.gitlab-ci.yml
.gitlab-ci.yml
+21
-22
No files found.
.gitlab-ci.yml
View file @
a2aec781
...
...
@@ -13,7 +13,6 @@ stages:
-
stack
-
cabal
-
test
-
docs
stack
:
stage
:
stack
...
...
@@ -49,24 +48,24 @@ test:
script
:
-
nix-shell --run "./bin/update-cabal-project $CABAL_STORE_DIR && cabal --store-dir=$CABAL_STORE_DIR v2-test --test-show-details=streaming --ghc-options='-O0 -fclear-plugins'"
docs
:
stage
:
docs
cache
:
key
:
stack.yaml
paths
:
-
.stack-root/
-
.stack-work/
policy
:
pull
script
:
-
nix-shell --run "stack build --no-terminal --haddock --no-haddock-deps --fast --dry-run"
-
cp -R "$(stack path --local-install-root)"/doc ./output
# FIXME(adinapoli) Currently Gitlab 11.x doesn't support the 'rules' keyword.
# rules:
# - if: '$CI_MERGE_REQUEST_IID' # Run job on Merge Requests
only
:
-
merge_requests
artifacts
:
paths
:
-
./output
expire_in
:
1 week
allow_failure
:
true
#
docs:
#
stage: docs
#
cache:
#
key: stack.yaml
#
paths:
#
- .stack-root/
#
- .stack-work/
#
policy: pull
#
script:
#
- nix-shell --run "stack build --no-terminal --haddock --no-haddock-deps --fast --dry-run"
#
- cp -R "$(stack path --local-install-root)"/doc ./output
#
# FIXME(adinapoli) Currently Gitlab 11.x doesn't support the 'rules' keyword.
#
# rules:
#
# - if: '$CI_MERGE_REQUEST_IID' # Run job on Merge Requests
#
only:
#
- merge_requests
#
artifacts:
#
paths:
#
- ./output
#
expire_in: 1 week
#
allow_failure: true
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment