Skip to content

Adjusting CI files #400

Adjusting CI files

Adjusting CI files #400

name: SquireCore CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main, development ]
env:
CARGO_TERM_COLOR: always
jobs:
squire_core_build_tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Setup Rust
uses: hecrj/setup-rust-action@v2
with:
rust-version: stable
components: rustfmt
- uses: actions/checkout@v4
- name: Fetch Trunk
uses: jetli/[email protected]
with:
version: 'latest'
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: '6.0'
- run: cargo build --package squire_core --verbose
- run: cargo test --package squire_core --verbose --features="db-tests"
# - run: cargo doc --package squire_core --verbose