public inbox for [email protected]
help / color / mirror / Atom feedFrom: Sehrope Sarkuni <[email protected]>
To: [email protected]
Subject: [pgjdbc/pgjdbc] aa235e: test: Use deterministic RNG for randomized test ma...
Date: Thu, 04 Jan 2024 15:21:33 -0800
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/[email protected]> (raw)
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: aa235e14c2213d1386100e62206006d83082d914
https://github.com/pgjdbc/pgjdbc/commit/aa235e14c2213d1386100e62206006d83082d914
Author: Sehrope Sarkuni <[email protected]>
Date: 2024-01-04 (Thu, 04 Jan 2024)
Changed paths:
M .github/workflows/main.yml
M .github/workflows/matrix.js
M .github/workflows/matrix_builder.js
A .github/workflows/rng.js
A .github/workflows/seedrandom.js
Log Message:
-----------
test: Use deterministic RNG for randomized test matrix
Change randomized test matrix to use a deterministic RNG. If the RNG_SEED environment
variable is defined, it will be used as the initial seed for the RNG. Alternatively,
if the GITHUB_PR_NUMBER environment variable is defined, it will be used to generate
a deterministic RNG seed to ensure that all test cycles for the same PR generate the
same test matrix of random environments.
If neither environment variable is defined then a random seed will be generated and
logged to the console. Re-running the action using that seed with the same matrix
generation codebase will generate the same matrix.
The actual RNG code is copied from seedrandom:
https://github.com/davidbau/seedrandom/commit/4460ad325a0a15273a211e509f03ae0beb99511a
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: [pgjdbc/pgjdbc] aa235e: test: Use deterministic RNG for randomized test ma...
In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox