Skip to content

Commit

Permalink
Fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kanarus committed Jan 10, 2024
1 parent 2e65249 commit e589495
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ jobs:
- name: Check ohkami's buildability
run: cargo check --features rt_${{ matrix.rt }}${{ matrix.x == '' && '' || ',' }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG

- name: Check ohkami's buildability without default featuresexcept fot utils
- name: Check ohkami's buildability without default features except fot `utils`
run: cargo check --no-default-features --features utils,rt_${{ matrix.rt }}${{ matrix.x == '' && '' || ',' }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG

- name: Check ohkami's buildability without default featuresexcept fot testing
- name: Check ohkami's buildability without default features except fot `testing`
run: cargo check --no-default-features --features testing,rt_${{ matrix.rt }}${{ matrix.x == '' && '' || ',' }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG

- name: Check ohkami's buildability without default features
run: cargo check --no-default-features --features rt_${{ matrix.rt }}${{ matrix.x == '' && '' || ',' }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG

- name: Check examples' buildablity
working-directory: examples
run: cargo check
18 changes: 12 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,20 @@ jobs:
profile: minimal
override: true

- name: Run ohkami's tests
run: cargo test --features rt_${{ matrix.rt }}${{ matrix.x == '' && '' || ',' }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG
- name: Run ohkami's doc tests
run: cargo test --doc --features rt_${{ matrix.rt }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG

- name: Run ohkami's tests without default featuresexcept fot utils
run: cargo test --no-default-features --features utils,rt_${{ matrix.rt }}${{ matrix.x == '' && '' || ',' }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG
- name: Run ohkami's lib tests
run: cargo test --lib --features rt_${{ matrix.rt }}${{ matrix.x == '' && '' || ',' }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG

- name: Run ohkami's lib tests without default features except fot `utils`
run: cargo test --lib --no-default-features --features utils,rt_${{ matrix.rt }}${{ matrix.x == '' && '' || ',' }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG

- name: Run ohkami's lib tests without default features except fot `testing`
run: cargo test --lib --no-default-features --features testing,rt_${{ matrix.rt }}${{ matrix.x == '' && '' || ',' }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG

- name: Run ohkami's tests without default featuresexcept fot testing
run: cargo test --no-default-features --features testing,rt_${{ matrix.rt }}${{ matrix.x == '' && '' || ',' }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG
- name: Run ohkami's lib tests without default features
run: cargo test --lib --no-default-features --features rt_${{ matrix.rt }}${{ matrix.x == '' && '' || ',' }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG

- name: Run tests of examples
working-directory: examples
Expand Down

0 comments on commit e589495

Please sign in to comment.