Skip to content

Commit a0601ac

Browse files
committed
add S3 ASF test job to CircleCI workflow
1 parent db7ab17 commit a0601ac

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.circleci/config.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,31 @@ jobs:
162162
- store_test_results:
163163
path: target/reports/
164164

165+
itest-s3-asf-provider:
166+
executor: ubuntu-machine-amd64
167+
working_directory: /tmp/workspace/repo
168+
steps:
169+
- attach_workspace:
170+
at: /tmp/workspace
171+
- run:
172+
name: Test ASF S3 provider
173+
environment:
174+
PROVIDER_OVERRIDE_S3: "asf"
175+
TEST_PATH: "tests/integration/s3/"
176+
PYTEST_ARGS: "--reruns 3 --junitxml=target/reports/s3_asf.xml -o junit_suite_name='s3_asf'"
177+
COVERAGE_ARGS: "-p"
178+
command: make test-coverage
179+
- run:
180+
name: Store coverage results
181+
command: mv .coverage.* target/coverage/
182+
- persist_to_workspace:
183+
root:
184+
/tmp/workspace
185+
paths:
186+
- repo/target/coverage/
187+
- store_test_results:
188+
path: target/reports/
189+
165190
docker-build:
166191
parameters:
167192
platform:
@@ -406,6 +431,9 @@ workflows:
406431
- itest-lambda-provider:
407432
requires:
408433
- preflight
434+
- itest-s3-asf-provider:
435+
requires:
436+
- preflight
409437
- unit-tests:
410438
requires:
411439
- preflight
@@ -452,6 +480,7 @@ workflows:
452480
requires:
453481
- itest-lambda-docker
454482
- itest-lambda-provider
483+
- itest-s3-asf-provider
455484
- docker-test-amd64
456485
- docker-test-arm64
457486
- collect-not-implemented-community
@@ -464,6 +493,7 @@ workflows:
464493
requires:
465494
- itest-lambda-docker
466495
- itest-lambda-provider
496+
- itest-s3-asf-provider
467497
- docker-test-amd64
468498
- docker-test-arm64
469499
- unit-tests

0 commit comments

Comments
 (0)