Skip to content

Commit

Permalink
Try tox-gh
Browse files Browse the repository at this point in the history
  • Loading branch information
sevdog committed Oct 6, 2023
1 parent ddd662d commit e0f7666
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Linters/Tests

on: pull_request

concurrency:
group: check-${{ github.ref }}
cancel-in-progress: true

jobs:

tests:
Expand All @@ -20,13 +24,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel setuptools
python -m pip install --upgrade tox tox-py

- name: Run tox targets for ${{ matrix.python-version }}
run: tox --py current
- name: Install tox
run: python -m pip install tox-gh>=1.2
- name: Setup test suite
run: tox -vv --notest
- name: Run test suite
run: tox --skip-pkg-install

lint:
name: Run black
Expand Down

0 comments on commit e0f7666

Please sign in to comment.