Skip to content

Commit

Permalink
Test versions of click
Browse files Browse the repository at this point in the history
fixes mapbox#39
  • Loading branch information
henrykironde committed Dec 19, 2022
1 parent e91acb7 commit 169e898
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/click-releases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Click release package

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install -e .
- name: Test with click latest release
run: |
pip install click --upgrade
pytest -v
- name: Test with click==8.0.0
run: |
pip install click==8.0.0 --upgrade
pytest -v
- name: Test with click==7.0.0
run: |
pip install click==7.0.0 --upgrade
pytest -v

0 comments on commit 169e898

Please sign in to comment.