Skip to content

Commit 7bad3ce

Browse files
committed
Keep only test job
1 parent 336dec3 commit 7bad3ce

File tree

1 file changed

+2
-100
lines changed

1 file changed

+2
-100
lines changed

.circleci/config.yml

Lines changed: 2 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -56,119 +56,21 @@ references:
5656
- "~/.m2"
5757

5858
jobs:
59-
60-
checkout_and_version:
61-
docker:
62-
- image: codacy/git-version:latest
63-
working_directory: ~/workdir
64-
steps:
65-
- checkout
66-
- run:
67-
name: Set version
68-
command: /bin/git-version > .version
69-
- run:
70-
name: Set Sbt version
71-
command: echo "version in ThisBuild := \"$(cat .version)\"" > version.sbt
72-
- run:
73-
name: Current version
74-
command: cat .version
75-
- persist_to_workspace:
76-
root: ~/
77-
paths:
78-
- workdir/*
79-
80-
checkfmt:
81-
<<: *default_sbt_job
82-
steps:
83-
- attach_workspace:
84-
at: ~/
85-
- *restore_sbt_cache
86-
- run:
87-
name: Check formatting
88-
command: sbt ";scalafmt::test;test:scalafmt::test;sbt:scalafmt::test"
89-
- *clean_sbt_cache
90-
- *save_sbt_cache
91-
92-
compile:
93-
<<: *default_sbt_job
94-
steps:
95-
- attach_workspace:
96-
at: ~/
97-
- *restore_sbt_cache
98-
- run:
99-
name: Compile
100-
command: sbt +compile
101-
- *clean_sbt_cache
102-
- *save_sbt_cache
103-
10459
test:
10560
<<: *default_sbt_job
10661
steps:
10762
- attach_workspace:
10863
at: ~/
10964
- *restore_sbt_cache
11065
- run:
111-
name: Compile
66+
name: Test
11267
command: |
11368
sbt +test
11469
115-
publish:
116-
<<: *default_sbt_job
117-
steps:
118-
- attach_workspace:
119-
at: ~/
120-
- *restore_sbt_cache
121-
- run:
122-
name: Publish
123-
command: |
124-
sbt ";retrieveGPGKeys"
125-
sbt ";+publishSigned;sonatypeReleaseAll"
126-
- *clean_sbt_cache
127-
- *save_sbt_cache
128-
129-
tag_version:
130-
<<: *default_sbt_job
131-
steps:
132-
- attach_workspace:
133-
at: ~/
134-
- add_ssh_keys:
135-
fingerprints:
136-
- "df:83:d7:c7:d5:79:06:c2:3b:d1:fd:e2:a3:d1:12:c5"
137-
- run:
138-
name: Tag
139-
command: git tag $(cat .version) && git push --tags
140-
14170
workflows:
14271
version: 2
14372
compile_deploy:
14473
jobs:
145-
- checkout_and_version:
146-
context: CodacyAWS
147-
- checkfmt:
148-
context: CodacyAWS
149-
requires:
150-
- checkout_and_version
151-
- compile:
152-
context: CodacyAWS
153-
requires:
154-
- checkout_and_version
15574
- test:
15675
context: CodacyAWS
157-
requires:
158-
- compile
159-
- publish:
160-
filters:
161-
branches:
162-
only:
163-
- master
164-
context: CodacyAWS
165-
requires:
166-
- test
167-
- tag_version:
168-
filters:
169-
branches:
170-
only:
171-
- master
172-
context: CodacyAWS
173-
requires:
174-
- publish
76+
requires:

0 commit comments

Comments
 (0)