Rewrite workflows using native Gitea Actions shell commands instead of marketplace actions
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
2026-02-01 05:20:18 +00:00
parent 7bd873383f
commit a2a31277b0

View File

@@ -10,16 +10,20 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - name: Checkout code
run: |
mkdir -p ${{ github.repository }}
git clone https://gitea.com/${{ github.repository }} .
git checkout ${{ github.sha }}
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 run: |
with: apt-get update
python-version: '3.11' apt-get install -y python3 python3-pip
python3 -m pip install --upgrade pip
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip pip3 install -e .
pip install -e . pip3 install pytest
pip install pytest
- name: Run tests - name: Run tests
run: | run: |
python -m pytest tests/ -v python3 -m pytest tests/ -v