diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5d3fc7f74..a7c5c285f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,9 +41,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 - - run: cargo install cargo-all-features - - run: cargo build-all-features - - run: cargo test-all-features + - run: cargo check --all-targets --no-default-features + - run: cargo test --all-features geo: name: geo @@ -60,9 +59,9 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 - - run: cargo install cargo-all-features - - run: cargo build-all-features - - run: cargo test-all-features + - run: cargo check --all-targets --no-default-features + # we don't want to test `proj-network` because it only enables the `proj` feature + - run: cargo test --features use-proj use-serde geo_postgis: name: geo-postgis @@ -79,9 +78,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 - - run: cargo install cargo-all-features - - run: cargo build-all-features - - run: cargo test-all-features + - run: cargo check --all-targets + - run: cargo test geo_fuzz: name: geo-fuzz diff --git a/geo-types/Cargo.toml b/geo-types/Cargo.toml index 0e2c56cdc..3c6ef25db 100644 --- a/geo-types/Cargo.toml +++ b/geo-types/Cargo.toml @@ -25,10 +25,3 @@ rstar = { version = "0.8", optional = true } [dev-dependencies] approx = "0.4.0" - -[package.metadata.cargo-all-features] - -skip_feature_sets = [ - # must be enabled via use-rstar - ["rstar"], -]