Skip to content

Commit

Permalink
stylish fashionable youthful
Browse files Browse the repository at this point in the history
  • Loading branch information
bragov4ik committed Feb 19, 2025
1 parent 3a7a9f0 commit d30915c
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,32 +63,36 @@ jobs:
with:
args: docker restart postgres

- name: Build
id: build
run: RUST_BACKTRACE=1 cargo test --no-run --locked --workspace --all-features

- name: ENVs in documentation
run: cargo run --bin env-docs-generation
env:
VALIDATE_ONLY: true

- name: DB tests temp
run: RUST_BACKTRACE=1 RUST_LOG=warn cargo test --locked --package stats-server -- --nocapture --ignored --test-threads=1
if: success() || failure()
if: steps.build.outcome == 'success'
env:
DATABASE_URL: postgres://postgres:admin@localhost:5432/

- name: Unit tests
run: RUST_BACKTRACE=1 RUST_LOG=info cargo test --locked --workspace --all-features --lib --bins -- --nocapture
if: success() || failure()
if: steps.build.outcome == 'success'

- name: Doc tests
run: cargo test --locked --workspace --all-features --doc
if: success() || failure()

- name: ENVs in documentation
run: cargo run --bin env-docs-generation
env:
VALIDATE_ONLY: true
if: steps.build.outcome == 'success'

- name: Integration tests
run: RUST_BACKTRACE=1 RUST_LOG=info cargo test --locked --workspace --test '*' -- --nocapture
if: success() || failure()
if: steps.build.outcome == 'success'

- name: DB tests
run: RUST_BACKTRACE=1 RUST_LOG=warn cargo test --locked --workspace -- --nocapture --ignored
if: success() || failure()
if: steps.build.outcome == 'success'
env:
DATABASE_URL: postgres://postgres:admin@localhost:5432/

Expand Down

0 comments on commit d30915c

Please sign in to comment.