Skip to content

Commit

Permalink
run all tests at once
Browse files Browse the repository at this point in the history
  • Loading branch information
ETeissonniere committed Aug 28, 2024
1 parent 36ce07a commit a50604f
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,22 @@ name: Rust

on:
push:
branches: [ "master" ]
branches: ["master"]
pull_request:
branches: [ "master" ]
branches: ["master"]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test
- name: Run tests (ignored)
env:
ZYFI_API_KEY: ${{ secrets.ZYFI_API_KEY }}
run: cargo test -- --ignored
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
env:
ZYFI_API_KEY: ${{ secrets.ZYFI_API_KEY }}
run: cargo test -- --include-ignored

0 comments on commit a50604f

Please sign in to comment.