Skip to content

Commit a79ae89

Browse files
committed
Skip the magic
1 parent e66f305 commit a79ae89

File tree

1 file changed

+13
-31
lines changed

1 file changed

+13
-31
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Quick check crates
33
on:
44
push:
55
branches: [ main ]
6-
tags:
7-
- v*
86
pull_request:
97
branches: [ main ]
108

@@ -28,38 +26,22 @@ jobs:
2826
args: --all-features
2927

3028
test:
31-
runs-on: ubuntu-latest
29+
strategy:
30+
matrix:
31+
platform:
32+
- ubuntu-latest
33+
- macos-latest
34+
- windows-latest
35+
rust:
36+
- 1.55.0 # MSRV
37+
- stable
38+
runs-on: ${{ matrix.platform }}
3239
steps:
3340
- uses: actions/checkout@v2
3441
- uses: actions-rs/toolchain@v1
3542
with:
3643
toolchain: stable
37-
- uses: actions-rs/cargo@v1
38-
with:
39-
command: test
40-
args: --all-features
41-
42-
publish:
43-
runs-on: ubuntu-latest
44-
if: startsWith( github.ref, 'refs/tags/v')
45-
needs:
46-
- security_audit
47-
- clippy_check
48-
- test
49-
50-
steps:
51-
- uses: actions/checkout@v2
52-
with:
53-
submodules: recursive
54-
- uses: actions-rs/toolchain@v1
55-
with:
44+
override: true
5645
profile: minimal
57-
toolchain: stable
58-
- name: Publish release
59-
run: |
60-
cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }}
61-
for i in infinitree-macros infinitree; do
62-
while ! (cd $i; cargo publish -v --no-verify); do
63-
sleep 30
64-
done
65-
done
46+
- run: cargo test
47+
- run: cargo test --all-features

0 commit comments

Comments
 (0)