forked from wpilibsuite/styleguide
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid duplicate test runs in CI (wpilibsuite#295)
Tox is running the tests for every Python instance listed in tox.ini when CI should just be calling pytest.
- Loading branch information
Showing
2 changed files
with
3 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,8 +29,7 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install Python dependencies | ||
run: pip install build | ||
- run: pip install build | ||
|
||
- name: Install wpiformat | ||
run: | | ||
|
@@ -39,15 +38,14 @@ jobs: | |
pip install dist/*.whl | ||
shell: bash | ||
|
||
- name: Install test dependencies | ||
run: pip install tox | ||
- run: pip install pytest | ||
|
||
- name: Run unit tests | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Your Name" | ||
cd wpiformat | ||
tox | ||
pytest | ||
- name: wpiformat - whole repo | ||
run: | | ||
|
This file was deleted.
Oops, something went wrong.