Skip to content

Commit

Permalink
CI: install toml if required
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Apr 27, 2022
1 parent b436a44 commit 2dcd52f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
architecture: x64
- name: Install matrix dependencies
run: pip install 'isort==${{ matrix.isort }}' 'flake8==${{ matrix.flake8 }}'
# isort 4.x requires `toml` to be able to read pyproject.toml, so install it...
- name: Install toml if required
run: pip install toml
if: matrix.isort == '4.3.21'
- name: Install dependencies
run: pip install .[test]
- name: flake8
Expand Down

0 comments on commit 2dcd52f

Please sign in to comment.