mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-27 14:09:48 +00:00
ac7b98daac
Indirects it via a minimal wrapper which can be trivially patched.
33 lines
664 B
YAML
33 lines
664 B
YAML
name: common/ Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
paths:
|
|
- "common/**"
|
|
|
|
pull_request:
|
|
paths:
|
|
- "common/**"
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test-common:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
|
|
|
|
- name: Build Dependencies
|
|
uses: ./.github/actions/build-dependencies
|
|
|
|
- name: Run Tests
|
|
run: |
|
|
GITHUB_CI=true RUST_BACKTRACE=1 cargo test --all-features \
|
|
-p std-shims \
|
|
-p zalloc \
|
|
-p patchable-async-sleep \
|
|
-p serai-db \
|
|
-p serai-env \
|
|
-p simple-request
|