Skip to content

Commit

Permalink
Try fixing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cmpute committed Dec 4, 2022
1 parent 63cf57c commit 3e4604a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
strategy:
matrix:
rust: [stable, 1.61]
services:
postgres:
image: postgres:14
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -33,6 +36,14 @@ jobs:
matrix:
bits: [16, 32, 64]
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14
env:
POSTGRES_PASSWORD: ''
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env:
RUST_BACKTRACE: 1
RUSTFLAGS: -D warnings --cfg force_bits="${{ matrix.bits }}$"
Expand All @@ -51,6 +62,14 @@ jobs:
test-x86:
name: Test x86
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14
env:
POSTGRES_PASSWORD: ''
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env:
RUST_BACKTRACE: 1
RUSTFLAGS: -D warnings
Expand All @@ -72,6 +91,14 @@ jobs:
test-x86_64:
name: Test x86_64
runs-on: ubuntu-latest
service:
postgres:
image: postgres:14
env:
POSTGRES_PASSWORD: ''
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env:
RUST_BACKTRACE: 1
RUSTFLAGS: -D warnings
Expand Down
2 changes: 1 addition & 1 deletion float/src/third_party/rand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
//! * [Uniform01] will generate floats with the precision decided by the constructor.
//! * [Standard], [Open01], [OpenClosed01] will generate floats with the max precision
//! such that the significand fits in a [DoubleWord].
//! * [UniformFBig] (and therefore [Uniform][rand::distributions::Uniform]) will generate floats
//! * [UniformFBig] (and therefore [Uniform][rand_v08::distributions::Uniform]) will generate floats
//! the precision being the maximum between the interval boundaries.
//!
//! The rounding of the [FBig] type doesn't affect the number generation process.
Expand Down

0 comments on commit 3e4604a

Please sign in to comment.