fix readme (#44) #65
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
name: Run tests | |
jobs: | |
wkb: | |
name: wkb | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
container: | |
image: georust/geo-ci | |
steps: | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
override: true | |
components: rustfmt, clippy, rust-src | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- run: cargo fmt --all -- --check | |
- run: cargo clippy --all-features --all-targets -- -Dwarnings | |
- run: cargo test --all-features | |
- run: cargo test --no-default-features | |
# We run this on CI as a test that recursive writing of geometry/geometry | |
# collections can compile. See https://github.com/kylebarron/wkb/issues/15 | |
- run: cargo bench --bench parse |