Skip to content

Commit

Permalink
test: testing env var (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotPeopling2day authored Aug 10, 2022
1 parent 2471583 commit d4dde7d
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
python-version: 3.8

- name: Install Dependencies
run: pip install .[lint]
run: |
python -m pip install --upgrade pip
pip install .[lint]
- name: Run Black
run: black --check .
Expand All @@ -38,18 +40,19 @@ jobs:
python-version: 3.8

- name: Install Dependencies
run: pip install .[lint,test] # Might need test deps
run: |
python -m pip install --upgrade pip
pip install .[lint,test]
- name: Run MyPy
run: mypy .

functional:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

strategy:
matrix:
os: [ubuntu-latest, macos-latest] # eventually add `windows-latest`
python-version: [3.7, 3.8, 3.9, '3.10']
python-version: [3.7, 3.8, 3.9, "3.10"]

steps:
- uses: actions/checkout@v2
Expand All @@ -60,10 +63,14 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install Dependencies
run: pip install .[test]
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Run Tests
run: pytest -m "not fuzzing" -n 0 -s --cov
run: pytest -m "not fuzzing"
env:
TENDERLY_FORK_ID: ${{ secrets.TENDERLY_FORK_ID }}

# NOTE: uncomment this block after you've marked tests with @pytest.mark.fuzzing
# fuzzing:
Expand Down

0 comments on commit d4dde7d

Please sign in to comment.