Skip to content

Commit

Permalink
Create test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Metaphorme authored Nov 7, 2024
1 parent bffea53 commit 3f0afca
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test

on:
push:
branches: [ "master" ]
paths-ignore: [ "README.md", "LICENSE" ]
pull_request:
branches: [ "master" ]
paths-ignore: [ "README.md", "LICENSE" ]
workflow_dispatch:

env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable

- name: Test hashes backend
run: cargo test --features hashes_backend

- name: Test ring backend
run: cargo test --no-default-features --features ring_backend

0 comments on commit 3f0afca

Please sign in to comment.