mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-22 10:44:53 +00:00
808a633e4d
common/ is now only run when common is edited. crypto/ when common/ or crypto/. coins/ when common/ or crypto/ or coins/. The rest of the tests are run whenever any package is edited (as they're all inter-connected).
31 lines
630 B
YAML
31 lines
630 B
YAML
name: coins/ Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
paths:
|
|
- "common/**"
|
|
- "crypto/**"
|
|
- "coins/**"
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test-coins:
|
|
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 bitcoin-serai \
|
|
-p ethereum-serai \
|
|
-p monero-generators \
|
|
-p monero-serai
|