Skip to content

Commit

Permalink
Bring parallelism into tests
Browse files Browse the repository at this point in the history
Signed-off-by: Cervenka Dusan <cervenka@acrios.com>
  • Loading branch information
Hadatko committed Sep 25, 2023
1 parent 78569ac commit e952674
Showing 1 changed file with 29 additions and 4 deletions.
33 changes: 29 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ jobs:
steps:
- checkout
- run: chmod u+x install_dependencies.sh && ./install_dependencies.sh
- run: chmod u+x run_tests.sh && ./run_tests.sh
- run: chmod u+x compile_tests.sh && ./compile_tests.sh
- parallelism: 2
steps:
- name: Run pytest
command: pytest erpcgen/test/
- name: Run unit tests
command: python3 test/run_unit_tests.py
- store_artifacts:
path: ./Release/Linux/erpcgen/erpcgen
build-linux-clang:
Expand All @@ -19,7 +25,13 @@ jobs:
steps:
- checkout
- run: chmod u+x install_dependencies.sh && ./install_dependencies.sh clang
- run: chmod u+x run_tests.sh && ./run_tests.sh clang
- run: chmod u+x compile_tests.sh && ./compile_tests.sh clang
- parallelism: 2
steps:
- name: Run pytest
command: pytest erpcgen/test/
- name: Run unit tests
command: python3 test/run_unit_tests.py
# - store_artifacts:
# path: ./Release/Linux/erpcgen/erpcgen
build-mac-gcc:
Expand All @@ -29,7 +41,13 @@ jobs:
steps:
- checkout
- run: chmod u+x install_dependencies.sh && ./install_dependencies.sh
- run: chmod u+x run_tests.sh && ./run_tests.sh
- run: chmod u+x compile_tests.sh && ./compile_tests.sh
- parallelism: 2
steps:
- name: Run pytest
command: pytest erpcgen/test/
- name: Run unit tests
command: python3 test/run_unit_tests.py
- store_artifacts:
path: ./Release/Darwin/erpcgen/erpcgen
build-mac-clang:
Expand All @@ -39,7 +57,14 @@ jobs:
steps:
- checkout
- run: chmod u+x install_dependencies.sh && ./install_dependencies.sh clang
- run: chmod u+x run_tests.sh && ./run_tests.sh clang
- run: chmod u+x compile_tests.sh && ./compile_tests.sh clang
- parallelism: 2
steps:
- name: Run pytest
command: pytest erpcgen/test/
- name: Run unit tests
command: python3 test/run_unit_tests.py

# - store_artifacts:
# path: ./Release/Darwin/erpcgen/erpcgen
build-windows-mingw:
Expand Down

0 comments on commit e952674

Please sign in to comment.