Skip to content

Commit

Permalink
[GIT] - Separation of git workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Sans-Atout committed Jun 2, 2024
1 parent 71bcefb commit 717c527
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/rust_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,6 @@ on:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Rust
uses: actions/checkout@v2
- name: Install nextest
uses: cargo install cargo-nextest
- name: Test normal
run: cargo nextest run
- name: Test error-stack features
run: cargo nextest run --features error-stack
- name: Test log + error-stack features
run: cargo nextest run --features error-stack,log
- name: Test secure_log + error-stack features
run: cargo nextest run --features error-stack,secure_log
- name: Test secure_log features
run: cargo nextest run --features secure_log
- name: Test log features
run: cargo nextest run --features log


build:
runs-on: ubuntu-latest
steps:
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/test_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Testing

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Rust
uses: actions/checkout@v2
- name: Install nextest
uses: cargo install cargo-nextest
- name: Test normal
run: cargo nextest run
- name: Test error-stack features
run: cargo nextest run --features error-stack
- name: Test log + error-stack features
run: cargo nextest run --features error-stack,log
- name: Test secure_log + error-stack features
run: cargo nextest run --features error-stack,secure_log
- name: Test secure_log features
run: cargo nextest run --features secure_log
- name: Test log features
run: cargo nextest run --features log

0 comments on commit 717c527

Please sign in to comment.