Skip to content

Commit 2b861b8

Browse files
committed
Updated config.yml
1 parent 1cf1e68 commit 2b861b8

1 file changed

Lines changed: 14 additions & 46 deletions

File tree

.circleci/config.yml

Lines changed: 14 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -3,45 +3,6 @@ orbs:
33
codecov: codecov/codecov@3
44

55
jobs:
6-
stage-one:
7-
macos:
8-
xcode: "15.4.0"
9-
resource_class: macos.m1.medium.gen1
10-
11-
12-
steps:
13-
- run:
14-
name: Stage One
15-
command: |
16-
echo "Starting stage one"
17-
sleep 40
18-
echo "Finished stage one"
19-
20-
stage-two:
21-
macos:
22-
xcode: "15.4.0"
23-
resource_class: macos.m1.medium.gen1
24-
steps:
25-
- run:
26-
name: Stage Two
27-
command: |
28-
echo "Starting stage two"
29-
sleep 30
30-
echo "Finished stage two"
31-
32-
stage-three:
33-
macos:
34-
xcode: "15.4.0"
35-
resource_class: macos.m1.medium.gen1
36-
steps:
37-
- run:
38-
name: Stage Three
39-
command: |
40-
echo "Starting stage three"
41-
sleep 30
42-
echo "Finished stage three"
43-
44-
456
build:
467
docker:
478
- image: cimg/node:current
@@ -61,11 +22,21 @@ jobs:
6122
ls -R $CIRCLE_WORKING_DIRECTORY
6223
find $CIRCLE_WORKING_DIRECTORY/coverage -type f
6324
- store_artifacts:
64-
path: coverage/coverage-final.json # Store the JSON coverage data
65-
destination: coverage-report-json # Optional: Custom artifact folder in CircleCI UI
25+
path: coverage/coverage-final.json
26+
destination: coverage-report-json
27+
- store_artifacts:
28+
path: coverage/lcov-report
29+
destination: coverage-report-html
30+
31+
- run:
32+
name: Create large dummy zip file (500MB)
33+
command: |
34+
mkdir -p dummy-data
35+
dd if=/dev/urandom of=dummy-data/random.bin bs=1M count=500
36+
zip -r dummy-artifact.zip dummy-data
6637
- store_artifacts:
67-
path: coverage/lcov-report # Store the HTML coverage report
68-
destination: coverage-report-html # Optional: Custom artifact folder in CircleCI UI
38+
path: dummy-artifact.zip
39+
destination: dummy-large-file
6940

7041
- codecov/upload
7142

@@ -74,6 +45,3 @@ workflows:
7445
build-test:
7546
jobs:
7647
- build
77-
- stage-one
78-
- stage-two
79-
- stage-three

0 commit comments

Comments
 (0)