Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
gargantext
purescript-gargantext
Commits
29c676c4
Commit
29c676c4
authored
Dec 02, 2024
by
Yoelis Acourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add lint check to CI
parent
5b3e5c38
Pipeline
#7074
failed with stages
in 17 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
.gitlab-ci.yml
.gitlab-ci.yml
+14
-8
No files found.
.gitlab-ci.yml
View file @
29c676c4
# Fixing the nixos image saves CI time so it doesn't have to pull new
#image every time (nixos/nix updates quite often).
#
image every time (nixos/nix updates quite often).
# image: nixos/nix:latest
image
:
nixos/nix:2.24.8
#before_script:
#- nix-env -iA nixpkgs.nix nixpkgs.cacert
#- apt-get update
#- apt-get install make xz-utils
stages
:
# - deps
-
compile
-
test
-
lint
# deps:
# stage: deps
...
...
@@ -38,8 +34,6 @@ compile:
test
:
stage
:
test
cache
:
# cache per branch name
# key: ${CI_COMMIT_REF_SLUG}
paths
:
-
/nix/store
-
node_modules/
...
...
@@ -51,3 +45,15 @@ test:
-
nix --extra-experimental-features "nix-command flakes" run .#test-ps
-
nix-collect-garbage --delete-older-than 14d
lint
:
stage
:
lint
cache
:
paths
:
-
/nix/store
-
node_modules/
-
output/
-
.spago/
script
:
-
nix --extra-experimental-features "nix-command flakes" run .#purs-tidy -- check src
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