From 01ff3f98e9870e1391281db1560e443885b14df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Sun, 29 Aug 2021 22:48:08 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Update=20GitHub=20Action=20linti?= =?UTF-8?q?ng=20and=20tests=20with=20Click=208=20and=207?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2d12a96bf..ad6576970 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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