Skip to content

Commit

Permalink
[shuffle] #[ignore] TS generation test w deno runtime:
Browse files Browse the repository at this point in the history
This is configured to run on CI via codegen-unit-test but ignored locally to
keep test suite fast for other devs.

Closes: #9398
  • Loading branch information
dimroc authored and bors-libra committed Oct 14, 2021
1 parent 9535d1b commit c800ee1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-test.yml
Expand Up @@ -581,7 +581,7 @@ jobs:
key: ${{ needs.prepare.outputs.changes-target-branch }}
- name: run codegen unit tests
run: |
$pre_command && mkdir -p target/junit-reports && cargo nextest --jobs ${max_threads} --tries ${nextest_tries} --failure-output=immediate-final -p transaction-builder-generator --unit --changed-since "origin/$TARGET_BRANCH" --run-ignored=ignored-only --junit target/junit-reports/codegen-unit-test.xml
$pre_command && mkdir -p target/junit-reports && cargo nextest --jobs ${max_threads} --tries ${nextest_tries} --failure-output=immediate-final -p transaction-builder-generator -p shuffle --unit --changed-since "origin/$TARGET_BRANCH" --run-ignored=ignored-only --junit target/junit-reports/codegen-unit-test.xml
env:
TARGET_BRANCH: ${{ needs.prepare.outputs.changes-target-branch }}
- name: upload codegen test results
Expand Down
4 changes: 4 additions & 0 deletions shuffle/cli/src/shared.rs
Expand Up @@ -122,6 +122,10 @@ mod test {
}

#[test]
#[ignore]
// Tests if the generated typesript libraries can actually be run by deno runtime.
// `ignore`d tests are still run on CI via codegen-unit-test, but help keep
// the local testsuite fast for devs.
fn test_generate_typescript_libraries() {
let tmpdir = tempdir().unwrap();
let dir_path = tmpdir.path();
Expand Down

0 comments on commit c800ee1

Please sign in to comment.