forked from gemwalletcom/core
-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (33 loc) · 972 Bytes
/
ci.yml
File metadata and controls
43 lines (33 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: CI - Unit Tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
jobs:
unit_test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
steps:
- uses: actions/checkout@v4
- name: Restore cargo cache
uses: Swatinem/rust-cache@v2
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.8
- name: Install just
run: sudo apt install just
- name: Run tests
run: just --unstable test-all
- name: Build all integration tests only
run: |
just --unstable gemstone build-integration-tests
just --unstable build-integration-tests
- name: Check gemstone dependencies
run: |
cargo tree --package gemstone | grep -i reqwest && exit 1 || echo "✓ No reqwest dependencies found in gemstone"