Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Add Network + Global Context test #1194

Merged
merged 1 commit into from Dec 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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