Skip to content

Commit

Permalink
edit check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
taikiy committed Nov 24, 2023
1 parent f88b14c commit 6e66af2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ on:
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
- "src/**/*"
- "benches/**/*"
- "tests/**/*"
- "ipa-*/src/**/*"
- "ipa-core/benches/**/*"
- "ipa-core/tests/**/*"
pull_request:
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
- "src/**/*"
- "benches/**/*"
- "tests/**/*"
- "ipa-*/src/**/*"
- "ipa-core/benches/**/*"
- "ipa-core/tests/**/*"
workflow_dispatch:

env:
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
run: cargo test

- name: Run Web Tests
run: cargo test --no-default-features --features "cli web-app real-world-infra test-fixture descriptive-gate"
run: cargo test -p ipa-core --no-default-features --features "cli web-app real-world-infra test-fixture descriptive-gate"

release:
name: Release builds and tests
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
strategy:
fail-fast: false
matrix:
sanitizer: [ address, leak ]
sanitizer: [address, leak]
env:
TARGET: x86_64-unknown-linux-gnu
steps:
Expand All @@ -155,4 +155,3 @@ jobs:
run: rustup component add rust-src
- name: Run tests with sanitizer
run: RUSTFLAGS="-Z sanitizer=${{ matrix.sanitizer }} -Z sanitizer-memory-track-origins" cargo test -Z build-std --target $TARGET --no-default-features --features "cli web-app real-world-infra test-fixture descriptive-gate"

4 changes: 2 additions & 2 deletions ipa-macros/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use std::{

use crate::tree::Node;

const TARGET_CRATE: &str = "ipa";
const STEPS_FILE_PATH: &str = "/../src/protocol/step/";
const TARGET_CRATE: &str = "ipa-core";
const STEPS_FILE_PATH: &str = "/../ipa-core/src/protocol/step/";
pub(crate) const STEPS_FILE_NAME: &str = "steps.txt";

#[derive(Clone, Debug)]
Expand Down

0 comments on commit 6e66af2

Please sign in to comment.