Rename the jobs in the CI for clarity

This commit is contained in:
Kerollmops 2023-07-12 11:16:01 +02:00
parent 9daccdf7f0
commit 8e7edf8ea7
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -30,13 +30,13 @@ jobs:
run: | run: |
apt-get update && apt-get install -y curl apt-get update && apt-get install -y curl
apt-get install build-essential -y apt-get install build-essential -y
- name: Run test with Rust stable - name: Setup test with Rust stable
if: github.event_name != 'schedule' if: github.event_name != 'schedule'
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
toolchain: stable toolchain: stable
override: true override: true
- name: Run test with Rust nightly - name: Setup test with Rust nightly
if: github.event_name == 'schedule' if: github.event_name == 'schedule'
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
@ -117,17 +117,17 @@ jobs:
run: | run: |
apt-get update apt-get update
apt-get install --assume-yes build-essential curl apt-get install --assume-yes build-essential curl
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: stable toolchain: stable
override: true override: true
- name: Run cargo tree without default features and check lindera is not present - name: Run cargo tree without default features and check lindera is not present
run: | run: |
cargo tree -f '{p} {f}' -e normal --no-default-features | grep lindera -vqz cargo tree -f '{p} {f}' -e normal --no-default-features | grep lindera -vqz
- name: Run cargo tree with default features and check lindera is pressent - name: Run cargo tree with default features and check lindera is pressent
run: | run: |
cargo tree -f '{p} {f}' -e normal | grep lindera -qz cargo tree -f '{p} {f}' -e normal | grep lindera -qz
# We run tests in debug also, to make sure that the debug_assertions are hit # We run tests in debug also, to make sure that the debug_assertions are hit
test-debug: test-debug:
name: Run tests in debug name: Run tests in debug