Skip to content

Commit 297148c

Browse files
committed
delete this commit; just to run CI
1 parent b33b3f6 commit 297148c

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

.github/actions/test_more/action.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: 'Test repeated'
2+
description: 'Test nix repeated'
3+
inputs:
4+
# This is required
5+
TARGET:
6+
required: true
7+
8+
SUDO:
9+
description: 'Set it to an empty string to run the tests as the current user, leave it with the default value to test with "sudo"'
10+
required: false
11+
default: sudo --preserve-env=HOME
12+
13+
TOOL:
14+
description: 'Tool used to involve the test command, can be cargo or cross'
15+
required: false
16+
default: cargo
17+
18+
RUSTFLAGS:
19+
required: false
20+
default: -D warnings -A unknown-lints
21+
22+
runs:
23+
using: "composite"
24+
steps:
25+
- name: set up Rust env
26+
shell: bash
27+
run: |
28+
echo "RUSTFLAGS=${{ inputs.RUSTFLAGS }}" >> $GITHUB_ENV
29+
30+
- name: test more
31+
shell: bash
32+
run: for i in $(seq 50); do ${{ inputs.SUDO }} $(which ${{ inputs.TOOL }}) test --target ${{ inputs.TARGET }} --all-features ; done

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
TARGET: '${{ env.TARGET }}'
3737

3838
- name: test
39-
uses: ./.github/actions/test
39+
uses: ./.github/actions/test_more
4040
with:
4141
TARGET: '${{ env.TARGET }}'
4242

@@ -63,7 +63,7 @@ jobs:
6363
TARGET: "${{ env.TARGET }}"
6464

6565
- name: test
66-
uses: ./.github/actions/test
66+
uses: ./.github/actions/test_more
6767
with:
6868
TARGET: "${{ env.TARGET }}"
6969

0 commit comments

Comments
 (0)