Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 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
6 changes: 3 additions & 3 deletions .github/workflows/cron-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
name: Periodic checks/tasks

env:
CARGO_ARGS: --no-default-features --features stdlib,importlib,encodings,ssl,jit
CARGO_ARGS: --no-default-features --features stdlib,importlib,encodings,ssl-rustls,jit
PYTHON_VERSION: "3.13.1"

jobs:
Expand All @@ -29,7 +29,7 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- run: sudo apt-get update && sudo apt-get -y install lcov
- name: Run cargo-llvm-cov with Rust tests.
run: cargo llvm-cov --no-report --workspace --exclude rustpython_wasm --verbose --no-default-features --features stdlib,importlib,encodings,ssl,jit
run: cargo llvm-cov --no-report --workspace --exclude rustpython_wasm --exclude rustpython-venvlauncher --verbose --no-default-features --features stdlib,importlib,encodings,ssl-rustls,jit
Comment thread
youknowone marked this conversation as resolved.
Resolved
- name: Run cargo-llvm-cov with Python snippets.
run: python scripts/cargo-llvm-cov.py
continue-on-error: true
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- uses: actions/setup-python@v6.1.0
with:
python-version: 3.9
python-version: ${{ env.PYTHON_VERSION }}
- run: cargo install cargo-criterion
- name: build benchmarks
run: cargo build --release --benches
Expand Down
2 changes: 1 addition & 1 deletion extra_tests/custom_text_test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def __call__(self, data_list, totals=None):

def get_function_args(func_ref):
try:
return [p for p in inspect.getargspec(func_ref).args if p != "self"]
return [p for p in inspect.getfullargspec(func_ref).args if p != "self"]
except:
return None

Expand Down
2 changes: 1 addition & 1 deletion extra_tests/jsontests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import unittest

from custom_text_test_runner import CustomTextTestRunner as Runner
from test.libregrtest.runtest import findtests
from test.libregrtest.findtests import findtests

testnames = findtests()
# idk why this fixes the hanging, if it does
Expand Down
Loading