Skip to content

Commit

Permalink
[#34] TDD: add failing black / autopep8 tests
Browse files Browse the repository at this point in the history
Signed-off-by: Bryant Finney <[email protected]>
  • Loading branch information
bryant-finney committed Nov 21, 2021
1 parent b89cb1e commit f6246b9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/usage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,15 @@ jobs:
path: dist/*.whl

test-install:
name: Test installation on ${{ matrix.os }} with ${{ matrix.manager }} for Python ${{ matrix.py }}
runs-on: ${{ matrix.os }}
env:
PIPENV_SETUP: ${{ needs.build.outputs.wheel }}${{ matrix.extras }}
name: "${{ matrix.os }} | py${{ matrix.py }}: ${{ matrix.manager }} install ${{ needs.build.outputs.wheel }}${{ matrix.extras }}"
needs: build
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
extras: ["", "[dev]"]
extras: ["", "[dev]", "[black]", "[autopep8]"]
manager: [pip, pipenv]
os: [ubuntu-latest, windows-latest, macos-latest]
py: [3.7, 3.8]
Expand All @@ -65,7 +67,7 @@ jobs:
path: dist

- name: Install using ${{ matrix.manager }} ➕
run: ${{ matrix.manager }} install ${{ needs.build.outputs.wheel }}
run: ${{ matrix.manager }} install "$PIPENV_SETUP"

- name: Print help (pip) 🖨️
if: ${{ matrix.manager == 'pip' }}
Expand Down

0 comments on commit f6246b9

Please sign in to comment.