diff options
| author | Namilskyy <alive6863@gmail.com> | 2025-11-30 22:20:18 +0300 |
|---|---|---|
| committer | Namilskyy <alive6863@gmail.com> | 2025-11-30 22:20:18 +0300 |
| commit | df3ef4a1deda90a182ba62c9ae1ed7e9fa62cde8 (patch) | |
| tree | 15ccbc4dbcf4b6ecc72c3e05668e9fba17651ae9 | |
| parent | 1800726c4e55e1a3b00c0160a35c3dde6fa202ff (diff) | |
Rewritted tests in woodpecker.yaml
| -rw-r--r-- | .woodpecker.yaml | 33 |
1 files changed, 4 insertions, 29 deletions
diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 14d9fd4..c0516c8 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -1,39 +1,14 @@ # Define the sequence of steps for the CI pipeline steps: - # Step 1: Run tests and checks (formatting, clippy, build, test) - fmt: + full-test: image: rust commands: - rustup default stable - cargo fmt --all -- --check + - cargo clippy --jobs 2 -- -D warnings + - cargo build --verbose --release --jobs 2 + - cargo test --verbose --jobs 2 when: branch: main event: [ push, pull_request ] - clippy: - image: rust - commands: - - rustup default stable - - cargo clippy --jobs 2 -- -D clippy::all - - when: - branch: main - event: [ push, pull_request ] - - build: - image: rust - commands: - - rustup default stable - - cargo build --release --verbose --jobs 2 - when: - branch: main - event: [ push, pull_request ] - - test: - image: rust - commands: - - rustup default stable - - cargo test --verbose --jobs 2 - when: - branch: main - event: [ push, pull_request ]
\ No newline at end of file |
