Skip to content

Commit e071b59

Browse files
committed
Add back our changes
1 parent 5ae8250 commit e071b59

File tree

5 files changed

+23
-52
lines changed

5 files changed

+23
-52
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
# https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
9090
strategy:
9191
matrix:
92-
msrv: [1.56.1] # 2021 edition requires 1.56
92+
msrv: [1.40.0]
9393
name: ubuntu / ${{ matrix.msrv }}
9494
steps:
9595
- uses: actions/checkout@v3

.github/workflows/coverage.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
push:
3+
branches: [main]
4+
pull_request:
5+
name: coverage
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
container:
10+
image: xd009642/tarpaulin:develop-nightly
11+
options: --security-opt seccomp=unconfined
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Generate code coverage
15+
run: |
16+
cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --run-types Doctests --run-types Tests --out Xml
17+
- name: Upload to codecov.io
18+
uses: codecov/codecov-action@v2
19+
with:
20+
fail_ci_if_error: true

.github/workflows/nostd.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/safety.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,5 @@ jobs:
8282
command: test
8383
args: --release --test loom
8484
env:
85-
LOOM_MAX_PREEMPTIONS: 2
85+
LOOM_MAX_PREEMPTIONS: 3
8686
RUSTFLAGS: "--cfg loom"

.github/workflows/test.yml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -85,29 +85,4 @@ jobs:
8585
with:
8686
command: test
8787
args: --locked --all-features --all-targets
88-
coverage:
89-
runs-on: ubuntu-latest
90-
name: ubuntu / stable / coverage
91-
steps:
92-
- uses: actions/checkout@v3
93-
with:
94-
submodules: true
95-
- name: Install stable
96-
uses: actions-rs/toolchain@v1
97-
with:
98-
profile: minimal
99-
toolchain: stable
100-
components: llvm-tools-preview
101-
- name: cargo install cargo-llvm-cov
102-
uses: taiki-e/install-action@cargo-llvm-cov
103-
- name: cargo generate-lockfile
104-
if: hashFiles('Cargo.lock') == ''
105-
uses: actions-rs/cargo@v1
106-
with:
107-
command: generate-lockfile
108-
- name: cargo llvm-cov
109-
run: cargo llvm-cov --locked --all-features --lcov --output-path lcov.info
110-
- name: Upload to codecov.io
111-
uses: codecov/codecov-action@v2
112-
with:
113-
fail_ci_if_error: true
88+
# continue using our own coverage.yml for now to get doctest checking

0 commit comments

Comments
 (0)