chore(deps): bump postgres from 0.19.11 to 0.19.12 #300
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- '**' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
container: | |
image: docker.binary.picodata.io/picodata:25.2.1 | |
options: --user root | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install system dependencies | |
run: dnf install -y procps-ng gcc gcc-c++ git openssl-devel | |
- name: Install toolchain | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: 1.87 | |
components: clippy, rustfmt | |
- name: Install Picodata Pike | |
run: | | |
cargo install picodata-pike | |
cargo pike --version | |
- name: Checking code format | |
run: cargo fmt -- --check --config use_try_shorthand=true | |
- name: Clippy | |
uses: clechasseur/rs-clippy-check@v3 | |
with: | |
args: --all-features --bins --examples --tests --benches -- -W clippy::all -D warnings | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: | | |
cargo test --all --verbose | |
sleep 2 | |
if [[ ! -z "$(pidof picodata)" ]]; then | |
echo "Some cluster instances have not been terminated" | |
exit 1 | |
fi | |
env: | |
RUST_LOG: debug | |
RUST_TEST_THREADS: 1 |