File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 - name : Install Python dependencies
4545 run : |
4646 python -m pip install --upgrade pip wheel setuptools
47- python -m pip install -r tests/requirements.txt pytest-xdist
47+ python -m pip install -r tests/requirements.txt
4848
4949 - name : Test Python
5050 id : python_test
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ cd ` dirname $0 ` /..
6+
7+ # Format Rust code
8+ cargo fmt
9+
10+ # Format Python tests
11+ isort --profile black tests
12+ black tests
13+
14+ # Lint Python tests
15+ flake8 tests
16+
17+ # Run Rust tests
18+ cargo test
19+
20+ # Run Rust linter
21+ cargo clippy
22+
23+ # Build Rust binaries
24+ cargo build
25+
26+ # Run Python tests
27+ python -m pytest tests -n32
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11pytest == 6.2.4
22pytest-benchmark == 3.4.1
3+ pytest-xdist == 2.4.0
34flake8 == 3.9.2
45black == 21.9b0
56isort == 5.9.3
You can’t perform that action at this time.
0 commit comments