Refactor to cleanup and prepare for directory caching #82
Workflow file for this run
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
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
build_and_test: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- run: | | |
rustc --version | |
cargo --version | |
rustup --version | |
- run: cargo check | |
- run: rustup component add clippy rustfmt | |
- run: cargo fmt --all -- --check | |
- run: cargo clippy --all-targets --all-features -- -D warnings | |
- run: cargo test --all-targets --all-features | |
- run: cargo test --features http-async | |
- run: cargo test --features mmap-async-tokio | |
- run: cargo test --features tilejson | |
- run: cargo test |