Skip to content

Commit 49cb581

Browse files
authored
chore(actions): remove duplicated test pipeline (#80)
* chore(actions): remove duplicated test pipeline * fix: remove examples pipeline for now
1 parent 8c51c98 commit 49cb581

1 file changed

Lines changed: 4 additions & 29 deletions

File tree

.github/workflows/rust.yml

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
with:
2626
command: check
2727

28-
coverage:
29-
name: Code Coverage (tarpaulin)
28+
tests:
29+
name: Test Suite
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Checkout repository
@@ -38,48 +38,23 @@ jobs:
3838
toolchain: stable
3939
override: true
4040

41-
- name: Run cargo-tarpaulin
41+
- name: Run cargo-tarpaulin (main)
4242
uses: actions-rs/tarpaulin@v0.1
4343
with:
44-
version: '0.9.0'
4544
args: '-- --test-threads 1'
4645

4746
- name: Upload to codecov.io
4847
uses: codecov/codecov-action@v1.0.12
4948
with:
5049
token: ${{secrets.CODECOV_TOKEN}}
50+
flags: unit
5151

5252
- name: Archive code coverage results
5353
uses: actions/upload-artifact@v2.1.2
5454
with:
5555
name: code-coverage-report
5656
path: cobertura.xml
5757

58-
test:
59-
name: Test Suite
60-
runs-on: ubuntu-latest
61-
steps:
62-
- name: Checkout sources
63-
uses: actions/checkout@v2.3.1
64-
65-
- name: Install stable toolchain
66-
uses: actions-rs/toolchain@v1
67-
with:
68-
profile: minimal
69-
toolchain: stable
70-
override: true
71-
72-
- name: Run cargo test
73-
uses: actions-rs/cargo@v1
74-
with:
75-
command: test
76-
77-
- name: Run cargo test --examples
78-
uses: actions-rs/cargo@v1
79-
with:
80-
command: test
81-
args: --examples
82-
8358
lints:
8459
name: Lints
8560
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)