-
Notifications
You must be signed in to change notification settings - Fork 5
41 lines (34 loc) · 1.06 KB
/
rs-run-ws-tests.yml
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
name: '[rs] Run Workspace Tests'
on:
workflow_call:
inputs:
sources_ref:
description: 'Sources Ref'
type: string
required: false
gear_node_version:
description: 'Gear Node Version'
required: true
type: string
jobs:
test_ws:
name: Run Workspace Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
ref: ${{ inputs.sources_ref }}
- name: Free Disk Space
uses: ./.github/actions/free-disk-space
- name: Install wasm-opt
uses: ./.github/actions/install-wasm-utils
- name: Download Gear Node
run: |
sudo wget -O ./gear https://github.com/gear-tech/gear/releases/download/v${{ inputs.gear_node_version }}/gear
sudo chmod +x gear
sudo mv gear /usr/bin/
- name: Run Tests
env:
GEAR_PATH: /usr/bin/gear
run: __GEAR_WASM_BUILDER_NO_FEATURES_TRACKING=1 cargo test --workspace --all-targets --locked --no-fail-fast -- --include-ignored