Skip to content

Fix typo (#183)

Fix typo (#183) #1022

Workflow file for this run

name: CI
on:
schedule: [{cron: "30 13 * * *"}]
push:
branches:
- master
pull_request:
jobs:
format:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
override: true
- run: cargo fmt -- --check
lint:
name: Clippy lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
override: true
- name: Lint
run: cargo clippy --all-features -- -D warnings
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
build: [stable, nightly]
include:
- build: stable
os: ubuntu-latest
rust: stable
- build: nightly
os: ubuntu-latest
rust: nightly
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- name: Build and run tests
run: cargo test --all-features
- name: Test arrow-pg default features
working-directory: arrow-pg
run: cargo test
integration:
name: Integration tests
runs-on: ubuntu-latest
timeout-minutes: 15
needs: [test]
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- run: |
pip install psycopg
- run: |
cd tests-integration
./test.sh
msrv:
name: MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: "1.86.0"
override: true
- run: cargo build --all-features