only run letter parser on ubu CI

This commit is contained in:
Anton-4 2023-01-20 16:42:37 +01:00
parent ee45107900
commit 1f7e8d58a6
No known key found for this signature in database
GPG Key ID: 0971D718C0A9B937
2 changed files with 4 additions and 7 deletions

View File

@ -36,8 +36,8 @@ jobs:
- name: regular rust tests
run: cargo test --locked --release && sccache --show-stats
- name: test examples/helloWorld.roc separately because it is ignored by default
run: cargo test --locked --release -p roc_cli cli_run::hello_world -- --ignored && sccache --show-stats
- name: test these separately because they are ignored by default, their use of url platforms causes issues within nix
run: cargo test --locked --release -p roc_cli cli_run::hello_world cli_run::parse_letter_counts -- --ignored && sccache --show-stats
- name: check that the platform`s produced dylib is loadable
run: cd examples/platform-switching/rust-platform && LD_LIBRARY_PATH=. cargo test --release --locked

View File

@ -474,10 +474,7 @@ mod cli_run {
}
#[test]
#[serial(cli_platform)]
#[ignore]
// ignored because downloaded prebuilt platforms cause problems with nix and NixOS
// this is explicitly tested on CI (.github/workflows/ubuntu_x86_64.yml)
#[ignore = "Prebuilt platforms cause problems with nix and NixOS. This is run explicitly tested on CI (.github/workflows/ubuntu_x86_64.yml)"]
fn hello_world() {
test_roc_app_slim(
"examples",
@ -865,7 +862,7 @@ mod cli_run {
}
#[test]
#[cfg_attr(windows, ignore)]
#[ignore = "Prebuilt platforms cause problems with nix and NixOS. This is run explicitly tested on CI (.github/workflows/ubuntu_x86_64.yml)"]
fn parse_letter_counts() {
test_roc_app_slim(
"examples/parser/examples",