mirror of
https://github.com/mtshiba/pylyzer.git
synced 2025-08-04 14:28:24 +00:00
test: fix stack overflow
This commit is contained in:
parent
80249587eb
commit
7cf537b37e
3 changed files with 3 additions and 3 deletions
3
.github/workflows/rust.yml
vendored
3
.github/workflows/rust.yml
vendored
|
@ -22,9 +22,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
rustup update stable
|
rustup update stable
|
||||||
cargo install --debug --path .
|
cargo install --debug --path .
|
||||||
# Removed because it caused a segmentation fault and would not stop executing. Testing should be done locally.
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --verbose
|
run: cargo test --verbose --features large_thread
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: clippy
|
command: clippy
|
||||||
|
|
|
@ -9,7 +9,7 @@ repos:
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
- id: cargo-test
|
- id: cargo-test
|
||||||
name: Cargo test
|
name: Cargo test
|
||||||
entry: cargo test
|
entry: cargo test --features large_thread
|
||||||
language: system
|
language: system
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
|
|
@ -32,6 +32,7 @@ els = { git = "https://github.com/erg-lang/erg", branch = "main", features = ["p
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
debug = ["erg_compiler/debug", "erg_common/debug", "py2erg/debug"]
|
debug = ["erg_compiler/debug", "erg_common/debug", "py2erg/debug"]
|
||||||
|
large_thread = ["erg_compiler/large_thread", "erg_common/large_thread", "els/large_thread"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
erg_compiler = { workspace = true }
|
erg_compiler = { workspace = true }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue