Skip to content

Commit

Permalink
CI: Add Network + Global Context test (#1194)
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 committed Dec 6, 2022
1 parent ff82248 commit 1834213
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/test_proj_latest.yaml
Expand Up @@ -46,24 +46,32 @@ jobs:
- name: Test
shell: bash
run: |
py.test --cov-report term-missing --cov=pyproj --cov-report xml
python -m pytest --cov-report term-missing --cov=pyproj --cov-report xml
- name: Test Network
shell: bash
env:
PROJ_NETWORK: ON
run: |
py.test
python -m pytest
- name: Test Global Context
shell: bash
env:
PYPROJ_GLOBAL_CONTEXT: ON
run: |
py.test
python -m pytest
- name: Test Network & Global Context
shell: bash
env:
PROJ_NETWORK: ON
PYPROJ_GLOBAL_CONTEXT: ON
run: |
python -m pytest
- name: Test Grids
shell: bash
run: |
$PROJ_DIR/bin/projsync --quiet --bbox -175,0,-50,85
py.test
python -m pytest
23 changes: 23 additions & 0 deletions .github/workflows/tests.yaml
Expand Up @@ -96,6 +96,15 @@ jobs:
. testenv/bin/activate
python -m pytest
- name: Test Network & Global Context
shell: bash
env:
PROJ_NETWORK: ON
PYPROJ_GLOBAL_CONTEXT: ON
run: |
. testenv/bin/activate
python -m pytest
- name: Test Grids
shell: bash
run: |
Expand Down Expand Up @@ -175,6 +184,8 @@ jobs:
- name: Test
shell: bash
if: matrix.python-implementation == 'pypy'
env:
PROJ_NETWORK: OFF
run: |
source activate test
python -m pytest
Expand All @@ -190,13 +201,25 @@ jobs:
- name: Test Global Context
shell: bash
env:
PROJ_NETWORK: OFF
PYPROJ_GLOBAL_CONTEXT: ON
run: |
source activate test
python -m pytest
- name: Test Network & Global Context
shell: bash
env:
PROJ_NETWORK: ON
PYPROJ_GLOBAL_CONTEXT: ON
run: |
source activate test
python -m pytest
- name: Test Grids
shell: bash
env:
PROJ_NETWORK: OFF
run: |
source activate test
projsync --quiet --bbox -175,0,-50,85
Expand Down

0 comments on commit 1834213

Please sign in to comment.