serai/.github/workflows/common-tests.yml

30 lines
569 B
YAML
Raw Normal View History

name: common/ Tests
on:
push:
branches:
- develop
paths:
- "common/**"
pull_request:
workflow_dispatch:
jobs:
test-common:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Test Dependencies
uses: ./.github/actions/test-dependencies
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Tests
run: |
GITHUB_CI=true cargo test --all-features \
-p std-shims \
-p zalloc \
-p serai-db \
-p serai-env