mirror of
https://github.com/dathere/ckan_geoconnex_bulk_runner.git
synced 2026-07-05 15:12:20 +00:00
feat: add initial Python package
This commit is contained in:
parent
e6b29be459
commit
71b08a53f0
8 changed files with 290 additions and 7 deletions
10
README.md
10
README.md
|
|
@ -13,29 +13,29 @@ This runner is expected to be implemented for a water data hub with the relevant
|
|||
## Installation and setup
|
||||
|
||||
```bash
|
||||
cargo run --release
|
||||
cargo run -p ckan_geoconnex_bulk_runner --release
|
||||
```
|
||||
|
||||
To ignore standard error output and only show valid output:
|
||||
|
||||
```bash
|
||||
cargo run --release 2>/dev/null
|
||||
cargo run -p ckan_geoconnex_bulk_runner --release 2>/dev/null
|
||||
```
|
||||
|
||||
## Run tests
|
||||
|
||||
```bash
|
||||
cargo test
|
||||
cargo test -p ckan_geoconnex_bulk_runner
|
||||
```
|
||||
|
||||
To include print statements in test output, run:
|
||||
|
||||
```bash
|
||||
cargo test -- --nocapture
|
||||
cargo test -p ckan_geoconnex_bulk_runner -- --nocapture
|
||||
```
|
||||
|
||||
If you have the local dump files setup available you can run those tests with:
|
||||
|
||||
```bash
|
||||
cargo test -F local -- --nocapture
|
||||
cargo test -p ckan_geoconnex_bulk_runner -F local -- --nocapture
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue