Skip to content

Commit

Permalink
add rust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
0o-de-lally committed Nov 19, 2024
1 parent f5e5371 commit 73cdb84
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/rust-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: rust-tests

on:
push:
tags: # only on releases, not RC, since we've tested already
- "[0-9]+.[0-9]+.[0-9]+"
branches: ["**"] # glob pattern to allow slash /
pull_request:
types:
- opened
- synchronize
branches:
- "release**"
- "main**"
schedule:
- cron: "30 00 * * *"

jobs:
types:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: setup env
uses: ./.github/actions/build_env

- uses: Swatinem/[email protected]
with:
shared-key: "forensic-db"
cache-all-crates: true

- name: test
working-directory: ./
run: cargo test --no-fail-fast

0 comments on commit 73cdb84

Please sign in to comment.