Skip to content

Commit

Permalink
ci: update steps
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski committed Apr 8, 2024
1 parent c5507e5 commit df4c04d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 54 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:
test:
strategy:
fail-fast: true
matrix:
flags: ["", "--all-features"]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -24,10 +23,23 @@ jobs:
- name: Format
run: cargo fmt --verbose
- name: Build
run: cargo build --verbose ${{ matrix.flags }}
- name: Run tests
run: cargo test --verbose ${{ matrix.flags }}

run: cargo build --verbose --all-features
- name: Test
run: cargo test --verbose --all-features
test-stac:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
flags: ["", "--features geo", "--features reqwest", "--features schemars"]
steps:
- uses: actions/checkout@v4
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --verbose -p stac ${{ matrix.flags }}
- name: Test
run: cargo test --verbose -p stac ${{ matrix.flags }}
doc:
runs-on: ubuntu-latest
env:
Expand Down
48 changes: 0 additions & 48 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit df4c04d

Please sign in to comment.