fix: Replace Rust CI workflow with Python CI workflow
Some checks failed
CI / test (push) Failing after 12s
Some checks failed
CI / test (push) Failing after 12s
This commit is contained in:
@@ -3,21 +3,21 @@ name: CI
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
- 'api-token-vault/**'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
- 'api-token-vault/**'
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-rust@v1
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
rust-version: stable
|
||||
- run: cargo build --all-features
|
||||
- run: cargo test --all-features
|
||||
- run: cargo clippy --all-features -- -D warnings
|
||||
python-version: '3.11'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -e .
|
||||
pip install pytest
|
||||
- name: Run tests
|
||||
run: python -m pytest tests/ -v
|
||||
|
||||
Reference in New Issue
Block a user