Skip to content

Commit 8b6bc48

Browse files
committed
remove pytest from noxfile
1 parent 13e1567 commit 8b6bc48

File tree

5 files changed

+2
-17
lines changed

5 files changed

+2
-17
lines changed

.github/workflows/docs.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ jobs:
1717
run: |
1818
python -m pip install --upgrade setuptools pip wheel
1919
python -m pip install nox
20-
- name: Install pytest
21-
run: |
22-
python -m pip install pytest
2320
- name: Run docs
2421
run: |
2522
nox -s docs
@@ -36,9 +33,6 @@ jobs:
3633
run: |
3734
python -m pip install --upgrade setuptools pip wheel
3835
python -m pip install nox
39-
- name: Install pytest
40-
run: |
41-
python -m pip install pytest
4236
- name: Run docfx
4337
run: |
4438
nox -s docfx

.github/workflows/lint.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ jobs:
1717
run: |
1818
python -m pip install --upgrade setuptools pip wheel
1919
python -m pip install nox
20-
- name: Install pytest
21-
run: |
22-
python -m pip install pytest
2320
- name: Run lint
2421
run: |
2522
nox -s lint

.github/workflows/mypy.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ jobs:
1717
run: |
1818
python -m pip install --upgrade setuptools pip wheel
1919
python -m pip install nox
20-
- name: Install pytest
21-
run: |
22-
python -m pip install pytest
2320
- name: Run mypy
2421
run: |
2522
nox -s mypy

.github/workflows/unittest.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ jobs:
4747
run: |
4848
python -m pip install --upgrade setuptools pip wheel
4949
python -m pip install nox
50-
- name: Install pytest
51-
run: |
52-
python -m pip install pytest
5350
- name: Run unit tests
5451
env:
5552
COVERAGE_FILE: .coverage${{ matrix.option }}-${{matrix.python }}

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
from __future__ import absolute_import
1616
import os
1717
import pathlib
18-
import pytest
1918
import re
2019
import shutil
20+
import unittest
2121

2222
# https://github.com/google/importlab/issues/25
2323
import nox # pytype: disable=import-error
@@ -115,7 +115,7 @@ def default(session, install_grpc=True, prerelease=False):
115115
run the tests.
116116
"""
117117
if prerelease and not install_grpc:
118-
pytest.skip("The pre-release session cannot be run without grpc")
118+
unittest.skip("The pre-release session cannot be run without grpc")
119119

120120
session.install(
121121
"dataclasses",

0 commit comments

Comments
 (0)