Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
chrzaszcz committed Mar 14, 2023
1 parent 5fe1413 commit ec88630
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions .circleci/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ commands:
name: Install pip3 and codecov packages
command: |
tools/circle-install-packages.sh python3-pip && \
pip3 install codecov && codecov
pip3 install codecov
run_coverage_analysis:
steps:
- fetch_coverage_packages
Expand All @@ -315,7 +315,7 @@ commands:
when: on_success
command: |
echo "Success!"
./rebar3 codecov analyze
$EXEC ./rebar3 codecov analyze
codecov --disable=gcov --env PRESET
upload_results_to_aws:
steps:
Expand Down Expand Up @@ -499,8 +499,10 @@ jobs:
- restore_certs
- fetch_build_packages
- run: $EXEC tools/configure with-all
- run: $EXEC tools/build-releases.sh
- run: $EXEC make rel
- cache_prod_build: {arch: arm64}
- persist_workspace

build_in_docker:
executor: << parameters.executor >>
Expand Down Expand Up @@ -559,6 +561,24 @@ jobs:
- upload_results_to_aws
- publish_github_comment

small_tests_in_docker_arm64:
executor: arm64
environment:
DOCKER_IMAGE: *OTP25
EXEC: docker exec main
steps:
- run: docker run -dit --name main --network host --rm -v `pwd`:`pwd` $DOCKER_IMAGE
- run: docker run -dit --name redis --network host --rm cimg/redis:__REDIS_VERSION__
- restore_workspace
- run:
name: Wait for redis
command: |
$EXEC tools/wait-for-it.sh -p 6379
- run:
name: Run Small Tests
command: |
$EXEC tools/test.sh -p small_tests -s true -e true
big_tests_in_docker:
executor: << parameters.executor >>
parallelism: 1
Expand Down Expand Up @@ -789,6 +809,12 @@ workflows:
requires:
- otp_25_docker
filters: *all_tags
- small_tests_in_docker_arm64:
name: small_tests_25_arm64
context: mongooseim-org
requires:
- otp_25_docker_arm64
filters: *all_tags
# ============= BIG TESTS =============
- big_tests_in_docker:
name: internal_mnesia_25
Expand Down

0 comments on commit ec88630

Please sign in to comment.