Skip to content

Commit

Permalink
Run slow tests in benchmark workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Feb 8, 2023
1 parent eab71bc commit d52fc8b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,7 @@ jobs:
- name: Run benchmark tests - on categoricals
working-directory: py-polars/tests/benchmark
run: python run.py

- name: Run slow tests using Polars release build
working-directory: py-polars
run: pytest -m slow
4 changes: 2 additions & 2 deletions .github/workflows/test-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
maturin develop
- name: Run tests and report coverage
run: pytest --cov -n auto -m "slow or not slow"
run: pytest --cov -n auto -m "not slow"

- name: Run doctests
run: python tests/docs/run_doctest.py
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
pip install target/wheels/polars-*.whl
- name: Run tests
run: pytest -n auto -m "slow or not slow"
run: pytest -n auto -m "not slow"

- name: Check import without optional dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion py-polars/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ test-all: venv build ## Run all tests

.PHONY: coverage
coverage: venv build ## Run tests and report coverage
$(VENV_BIN)/pytest --cov -n auto -m "slow or not slow"
$(VENV_BIN)/pytest --cov -n auto -m "not slow"

.PHONY: clean
clean: ## Clean up caches and build artifacts
Expand Down

0 comments on commit d52fc8b

Please sign in to comment.