Skip to content

Commit

Permalink
chore: CSV test is hanging on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
uglyog committed Sep 8, 2022
1 parent a54765f commit c98956e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install Pact verifier
run: scripts/install-verifier-cli.sh
shell: bash
- name: Run CSV examples
- name: Run CSV examples (Non-Windows)
run: |
set -e
cd csv-consumer-jvm
Expand All @@ -51,3 +51,18 @@ jobs:
~/bin/pact_verifier_cli -f ../csv-consumer-jvm/build/pacts/CsvClient-CsvServer.json -p 8080
shell: bash
working-directory: examples/csv
if: runner.os != 'Windows'
- name: Run CSV examples (Windows)
run: |
set -e
cd csv-consumer-jvm
./gradlew check
cd ../csv-provider
cargo build
nohup ./target/debug/csv-provider &
PID=$!
trap "kill $PID" EXIT
~/bin/pact_verifier_cli -f ../csv-consumer-jvm/build/pacts/CsvClient-CsvServer.json -p 8080
shell: bash
working-directory: examples/csv
if: runner.os == 'Windows'
2 changes: 1 addition & 1 deletion plugins/csv/pact-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"pluginInterfaceVersion": 1,
"name": "csv",
"version": "0.0.2",
"version": "0.0.3",
"executableType": "exec",
"entryPoint": "pact-csv-plugin"
}

0 comments on commit c98956e

Please sign in to comment.