fix: Update CI workflow to use Rust/Cargo instead of Python/pytest
Some checks failed
CI / test (push) Failing after 2s
Some checks failed
CI / test (push) Failing after 2s
This commit is contained in:
@@ -14,23 +14,13 @@ jobs:
|
||||
- uses: actions/setup-rust@v1
|
||||
with:
|
||||
rust-version: '1.75'
|
||||
profile: minimal
|
||||
- run: cargo check
|
||||
- run: cargo test --all -- --test-threads=4
|
||||
- run: cargo clippy --all-features -- -D warnings
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-rust@v1
|
||||
with:
|
||||
rust-version: '1.75'
|
||||
profile: minimal
|
||||
- run: cargo build --release
|
||||
- name: Upload binary
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: tui-generator-cli
|
||||
path: target/release/tui-generator
|
||||
targets: 'wasm32-unknown-unknown'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
cargo check --all-targets
|
||||
- name: Run tests
|
||||
run: |
|
||||
cargo test --all
|
||||
- name: Run clippy
|
||||
run: |
|
||||
cargo clippy --all -- -D warnings
|
||||
|
||||
Reference in New Issue
Block a user