From 99ea224c37501a906c93a3bcd9bbe8f1edbdda7f Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 05:38:20 +0000 Subject: [PATCH] fix: Replace Rust CI workflow with Python CI workflow --- .gitea/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index bbc83b1..8ca10d9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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