Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests #34

Merged
merged 1 commit into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ permissions:
id-token: write

jobs:
rust-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- name: Run Tests
run: cargo test --release -- --nocapture
linux:
runs-on: ubuntu-latest
strategy:
Expand Down
6 changes: 3 additions & 3 deletions tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn test_parse_simple() {
let path = Path::new("tests/inputs/simple.log").to_path_buf();
let config = tlparse::ParseConfig {
strict: true,
custom_parsers: vec![],
..Default::default()
};
let output = tlparse::parse_path(&path, config);
assert!(output.is_ok());
Expand Down Expand Up @@ -61,7 +61,7 @@ fn test_parse_compilation_metrics() {
let path = Path::new("tests/inputs/comp_metrics.log").to_path_buf();
let config = tlparse::ParseConfig {
strict: true,
custom_parsers: vec![],
..Default::default()
};
let output = tlparse::parse_path(&path, config);
assert!(output.is_ok());
Expand Down Expand Up @@ -90,7 +90,7 @@ fn test_parse_compilation_failures() {
let path = Path::new("tests/inputs/comp_failure.log").to_path_buf();
let config = tlparse::ParseConfig {
strict: true,
custom_parsers: vec![],
..Default::default()
};
let output = tlparse::parse_path(&path, config);
assert!(output.is_ok());
Expand Down
Loading