Skip to content

Commit

Permalink
reduce number of python tests to 2 (#1386)
Browse files Browse the repository at this point in the history
# Description

@swift-nav/devinfra

The python test re-run 5 times and take a ridiculous time to do so, here
I reduce the reruns to 2.
  • Loading branch information
pcrumley authored Dec 8, 2023
1 parent a389e33 commit c40d17b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions HOWTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,21 +209,16 @@ inside the container (so you don't have to setup git inside the docker container
make java jsonschema protobuf
```

For C, Haskell and JavaScript:
For C, Haskell and JavaScript (JavaScript, make needs to be run twice to update the package information):

```shell
make c haskell javascript rust
make javascript
git add c/include/libsbp/version.h haskell/sbp.cabal javascript/sbp/RELEASE-VERSION package.json package-lock.json rust/sbp/Cargo.toml
git commit --amend -a -m 'Release <INCREMENTED_TAG>'
git tag -f -a INCREMENTED_TAG -m "Version INCREMENTED_TAG of libsbp."
```

JavaScript, make needs to be run twice to update the package information

```shell
make javascript
```

4. Finally, build the docs:

```shell
Expand Down
2 changes: 1 addition & 1 deletion python/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ deps =
passenv =
PYTEST_ADDOPTS
commands =
py.test -v --reruns 5 --cov --cov-append --cov-report=term-missing sbp tests
py.test -v --reruns 2 --cov --cov-append --cov-report=term-missing sbp tests
{toxinidir}/../test_data/sanity.sh
sitepackages = False

Expand Down

0 comments on commit c40d17b

Please sign in to comment.