Skip to content

Commit

Permalink
ci: test unit only
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Mar 2, 2024
1 parent b205e37 commit a2dc4b9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@ jobs:
if: matrix.os == 'macos-14' || matrix.os == 'macos-12'
run: brew install protobuf

- name: Unit Test (with examples)
- name: Unit Test
if: runner.os == 'Linux'
run: make ci_unit
- name: Unit Test (with examples)
if: runner.os == 'Linux'
run: APP_BRANCH=${APP_REF:11} DOCKER_GATEWAY_HOST=172.17.0.1 DOCKER_HOST_HTTP="http://172.17.0.1" make ci_pact
# - name: Test examples
# if: runner.os == 'Linux'
# run: APP_BRANCH=${APP_REF:11} DOCKER_GATEWAY_HOST=172.17.0.1 DOCKER_HOST_HTTP="http://172.17.0.1" make ci_pact

- name: Unit Test
if: runner.os != 'Linux'
run: make ci_unit_no_docker
- name: Test examples
if: runner.os != 'Linux'
run: make ci_pact_no_docker
# - name: Test examples
# if: runner.os != 'Linux'
# run: make ci_pact_no_docker

# - name: Unit Test
# if: runner.os == 'Windows'
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ endif
ci:: docker deps clean bin test pact
ci_unit:: deps clean bin test
ci_pact:: docker pact
ci_unit_no_docker:: deps clean bin test pact
ci_unit_no_docker:: deps clean bin test
ci_pact_no_docker:: pact

# Run the ci target from a developer machine with the environment variables
Expand Down Expand Up @@ -54,7 +54,7 @@ deps: download_plugins
download_plugins:
@echo "--- 🐿 Installing plugins"; \
./scripts/install-cli.sh
~/.pact/bin/pact-plugin-cli$(EXE) -y install https://github.com/austek/pact-avro-plugin/releases/tag/v0.0.5
$$HOME/.pact/bin/pact-plugin-cli$(EXE) -y install https://github.com/austek/pact-avro-plugin/releases/tag/v0.0.5

cli:
@if [ ! -d pact/bin ]; then\
Expand Down

0 comments on commit a2dc4b9

Please sign in to comment.