Skip to content

Add option to use time crate instead of chrono #42

Add option to use time crate instead of chrono

Add option to use time crate instead of chrono #42

Workflow file for this run

on:
push:
paths:
- "packages/apalis-sql/src/lib.rs"
- "packages/apalis-sql/src/sqlite.rs"
- "packages/apalis-sql/src/migrations/sqlite/**"
- "packages/apalis-sql/src/Cargo.toml"
- ".github/workflows/sqlite.yaml"
pull_request:
paths:
- "packages/apalis-sql/src/lib.rs"
- "packages/apalis-sql/src/sqlite.rs"
- "packages/apalis-sql/src/migrations/sqlite/**"
- "packages/apalis-sql/src/Cargo.toml"
- ".github/workflows/sqlite.yaml"
name: Sqlite CI
jobs:
test-sqlite:
name: Test Suite Sqlite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo test --no-default-features --features sqlite,migrate,tokio-comp,chrono -- --test-threads=1
working-directory: packages/apalis-sql
- run: cargo test --no-default-features --features sqlite,migrate,tokio-comp,time -- --test-threads=1
working-directory: packages/apalis-sql