c2pa-rs

A fork of https://github.com/contentauth/c2pa-rs/
git clone git://archive.git.mtrnord.blog/mtrnords-photography-manager/c2pa-rs.git
Log | Files | Refs | README

commit 760009cbbdd4f58c090c059e12a019acc1c95dfb
parent 33365ad56cfe6f31a7b8d8bcdc6e67c3b0eb165d
Author: Eric Scouten <scouten@adobe.com>
Date:   Mon, 11 Sep 2023 14:50:58 -0700

(IGNORE) Run unit tests in nightly build (#303)


Diffstat:
M.github/workflows/nightly.yml | 50++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml @@ -69,3 +69,53 @@ jobs: commit_user_name: Adobe CAI Team commit_user_email: noreply@adobe.com create_branch: true + + tests: + name: Unit tests + runs-on: ${{ matrix.os }} + needs: nightly-snapshot + + strategy: + fail-fast: false + matrix: + os: [windows-latest, macos-latest, ubuntu-latest] + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + with: + ref: nightly + + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable + + - name: Cache Rust dependencies + uses: Swatinem/rust-cache@v2 + + - name: Run unit tests (cross build) + run: cargo test --all-targets --all-features + + test-direct-minimal-versions: + name: Unit tests with minimum versions of direct dependencies + runs-on: ${{ matrix.os }} + needs: nightly-snapshot + + strategy: + fail-fast: false + matrix: + os: [windows-latest, macos-latest, ubuntu-latest] + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + with: + ref: nightly + + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@nightly + + - name: Cache Rust dependencies + uses: Swatinem/rust-cache@v2 + + - name: Run tests + run: cargo +nightly test -Z direct-minimal-versions --all-targets --all-features