fix: use Gitea-native CI workflow with direct bash commands instead of GitHub Actions
This commit is contained in:
@@ -11,20 +11,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: https://github.com/actions/checkout@v4
|
||||
run: |
|
||||
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/agentic-codebase-memory-manager.git .
|
||||
|
||||
- name: Set up Python
|
||||
uses: https://github.com/actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
|
||||
- name: Cache pip packages
|
||||
uses: https://github.com/actions/cache@v4
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
run: |
|
||||
apt-get update && apt-get install -y python3.11 python3-pip
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
@@ -47,12 +39,12 @@ jobs:
|
||||
needs: test
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: https://github.com/actions/checkout@v4
|
||||
run: |
|
||||
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/agentic-codebase-memory-manager.git .
|
||||
|
||||
- name: Set up Python
|
||||
uses: https://github.com/actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
run: |
|
||||
apt-get update && apt-get install -y python3.11 python3-pip
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
@@ -60,7 +52,7 @@ jobs:
|
||||
|
||||
- name: Verify import
|
||||
run: |
|
||||
python -c "import memory_manager; print(memory_manager.__version__)"
|
||||
python3 -c "import memory_manager; print(memory_manager.__version__)"
|
||||
|
||||
- name: Verify CLI
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user