diff --git a/.github/workflows/python-compatibility.yml b/.github/workflows/python-compatibility.yml new file mode 100644 index 00000000..97a221a6 --- /dev/null +++ b/.github/workflows/python-compatibility.yml @@ -0,0 +1,27 @@ +name: Python Compatibility Check 🐍 +on: [ push ] + +jobs: + python-compatibility: + runs-on: ubuntu-20.04 + strategy: + matrix: + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ] + steps: + - name: Checkout Code + uses: actions/checkout@v2 + + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + + - name: Install the CLI + run: | + export LC_ALL=C.UTF-8 + export LANG=C.UTF-8 + python setup.py install + + - name: Check compatibility + run: | + rio --help \ No newline at end of file diff --git a/setup.py b/setup.py index b248d552..fa3b039c 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,7 @@ "pyrfc3339>=1.1", "directory-tree>=0.0.3.1", "yaspin>=2.3.0", - "jsonschema>=4.0.0", + "jsonschema==4.0.0", "waiting>=1.4.1", "semver>=3.0.0", ],