Release: 0.24.0 #316
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] | |
jsonref-version: ["==0.3", ">1"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install normal dependencies | |
run: pip install -r requirements_dev.txt | |
- run: pip install 'jsonref${{ matrix.jsonref-version }}' | |
- name: Test with normal dependencies | |
run: py.test -m "not geo" --cov . | |
- name: Install geo dependencies | |
run: pip install -e .[geo] | |
- name: Test with geo dependencies | |
run: py.test -m "geo" --cov --cov-append . | |
- env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: coveralls --service=github || true |