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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
paths-ignore:
|
|
||||||
- 'api-token-vault/**'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
paths-ignore:
|
|
||||||
- 'api-token-vault/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-rust@v1
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
rust-version: stable
|
python-version: '3.11'
|
||||||
- run: cargo build --all-features
|
- name: Install dependencies
|
||||||
- run: cargo test --all-features
|
run: |
|
||||||
- run: cargo clippy --all-features -- -D warnings
|
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