-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix tutorials paths in gitignore * fix step-1 resolve deprecation warnings * run step_2, remove deprecations including dict structure for CRS * get Step 3 working * fix examples notebooks * fix crs in doc-strings and as defaults to str * reduce number of paths for example speed * lengthen timeout for docs to run * text, formatting for step-1 tutorial * formatting step-2 tutorial * formatting for step-3 notebook * update example_finding notebook * fix doc-strings ex-fixing * update ex gravity notebook * start testing * placeholder tests * add tests * one more test, coverage to 9% * try miniconda ci * non-interactive conda install * try to fix ci job * specify coverage rcfile * dont report coverage for now * remove flag * add tests * add tests * core funcs and tests * finish tests for calculate_od_raw * more tests * add integrated test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * more tests and edits for new networkx versions * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add tests * stop building on macos * add test * updates * fix and test for length of multilinesegment * more tests, use sample data in tests * more tests and fixes to core fcts * add test * cleanup tests, test isochrone function * more tests and edits to core functions * more testing of core functions * add more tests * more tests, up to 70% test coverage * add more tests * minor edits * clean up tests a bit, add pooch for some data * remove cov report --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
c2ed011
commit e6a3c43
Showing
23 changed files
with
39,934 additions
and
822 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: tests | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
ubuntu-build: | ||
runs-on: ${{ matrix.os }} | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
env: | ||
OS: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
auto-update-conda: false | ||
activate-environment: test-env | ||
auto-activate-base: false | ||
- name: Install dependencies then test | ||
run: | | ||
conda install -c conda-forge gdal | ||
conda install -c conda-forge pip | ||
pip install .[dev] | ||
coverage run -m pytest |
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
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
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
Oops, something went wrong.