Skip to content

Commit

Permalink
馃懛 Update GitHub Action linting and tests with Click 8 and 7
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Aug 29, 2021
1 parent 525b6dd commit 01ff3f9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -11,19 +11,26 @@ jobs:
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
click-7: [true, false]
fail-fast: false

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Flit
run: pip install flit
- name: Install Dependencies
run: flit install --deps=develop --symlink
- name: Install Click 7
if: matrix.click-7
run: pip install "click<8.0.0"
- name: Test
run: bash scripts/test.sh
- name: Lint
if: ${{ matrix.python-version != '3.6' && matrix.click-7 }}
run: bash scripts/lint.sh
- name: Upload coverage
uses: codecov/codecov-action@v1

1 comment on commit 01ff3f9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.