mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-20 19:42:17 +00:00
fix
This commit is contained in:
@@ -16,7 +16,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
rust:
|
rust:
|
||||||
- stable
|
- stable
|
||||||
- beta
|
|
||||||
- nightly
|
- nightly
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -59,6 +58,12 @@ jobs:
|
|||||||
chmod +x /usr/local/bin/flatc
|
chmod +x /usr/local/bin/flatc
|
||||||
rm -rf Linux.flatc.binary.g++-13.zip
|
rm -rf Linux.flatc.binary.g++-13.zip
|
||||||
|
|
||||||
|
- name: toolchain
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
toolchain: ${{ matrix.rust }}
|
||||||
|
# components: rustfmt, clippy
|
||||||
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
@@ -67,14 +72,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
make e2e-server > /dev/null &
|
make e2e-server > /dev/null &
|
||||||
make probe-e2e
|
make probe-e2e
|
||||||
env:
|
|
||||||
PORT: 9000
|
|
||||||
|
|
||||||
- name: e2e test
|
- name: e2e test
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo test -p e2e_test --lib
|
||||||
with:
|
|
||||||
command: test
|
|
||||||
args: -p e2e_test --lib
|
|
||||||
|
|
||||||
- name: cache cargo
|
- name: cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
rust:
|
rust:
|
||||||
- stable
|
- stable
|
||||||
- beta
|
|
||||||
- nightly
|
- nightly
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -59,25 +58,19 @@ jobs:
|
|||||||
chmod +x /usr/local/bin/flatc
|
chmod +x /usr/local/bin/flatc
|
||||||
rm -rf Linux.flatc.binary.g++-13.zip
|
rm -rf Linux.flatc.binary.g++-13.zip
|
||||||
|
|
||||||
|
- name: toolchain
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
toolchain: ${{ matrix.rust }}
|
||||||
|
# components: rustfmt, clippy
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: ${{ matrix.rust }}
|
|
||||||
override: true
|
|
||||||
components: rustfmt, clippy
|
|
||||||
|
|
||||||
- name: cargo build
|
- name: cargo build
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo build
|
||||||
with:
|
|
||||||
command: build
|
|
||||||
|
|
||||||
- name: cargo test
|
- name: cargo test
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo test --all --exclude e2e_test
|
||||||
with:
|
|
||||||
command: test
|
|
||||||
args: --all --exclude e2e_test
|
|
||||||
|
|
||||||
- name: cache cargo
|
- name: cache cargo
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user