Compare commits

...

20 Commits

Author SHA1 Message Date
8e058aeefc fix: try downloading Python directly
Some checks failed
CI / test (push) Failing after 2s
2026-03-22 17:16:37 +00:00
8ab42fad20 fix: add timeouts to apt-get commands
Some checks failed
CI / test (push) Failing after 9s
2026-03-22 17:14:02 +00:00
40f934d542 fix: try gitea runner label
Some checks failed
CI / test (push) Has been cancelled
2026-03-22 17:13:47 +00:00
a537b1c468 fix: try with explicit python3 path
Some checks failed
CI / test (push) Failing after 2s
2026-03-22 17:13:30 +00:00
19d55d6343 fix: check available package managers
All checks were successful
CI / test (push) Successful in 2s
2026-03-22 17:13:17 +00:00
bac3465172 fix: use apk package manager instead of apt-get
Some checks failed
CI / test (push) Failing after 1s
2026-03-22 17:13:01 +00:00
8dd540e28a fix: minimal debug to find Python
All checks were successful
CI / test (push) Successful in 2s
2026-03-22 17:12:46 +00:00
3aa31623bf fix: find python on the system
Some checks failed
CI / test (push) Failing after 1s
2026-03-22 17:11:34 +00:00
ff57d57fe9 fix: CI with noninteractive apt-get
Some checks failed
CI / test (push) Failing after 11s
2026-03-22 17:09:04 +00:00
88797e4c27 fix: CI with python installation
Some checks failed
CI / test (push) Failing after 10s
2026-03-22 17:07:08 +00:00
ad458fe5d4 fix: debug what's available in the runner
All checks were successful
CI / test (push) Successful in 1s
2026-03-22 17:06:40 +00:00
452285f62d fix: CI with just Python steps, no apt-get
Some checks failed
CI / test (push) Failing after 2s
2026-03-22 17:05:34 +00:00
db48369879 fix: minimal CI workflow test
All checks were successful
CI / test (push) Successful in 1s
2026-03-22 17:05:20 +00:00
a4e228573f fix: add debug steps to diagnose CI issue
Some checks failed
CI / test (push) Failing after 9s
2026-03-22 17:03:47 +00:00
6d0b791afb fix: use 'linux' runner and install python if missing
Some checks failed
CI / test (push) Has been cancelled
2026-03-22 17:01:29 +00:00
2ef562785d fix: use pure shell steps without actions/checkout
Some checks failed
CI / test (push) Failing after 2s
2026-03-22 17:00:00 +00:00
745ec89048 fix: simplify CI workflow structure
Some checks failed
CI / test (push) Failing after 5s
CI / build (push) Has been skipped
2026-03-22 16:58:59 +00:00
e6a8ca487b fix: simplify CI workflow to rely on pre-installed Python and pip
Some checks failed
CI / test (push) Failing after 2s
CI / build (push) Has been skipped
2026-03-22 16:58:23 +00:00
53bb25862c fix: use Gitea-native CI workflow with direct bash commands instead of GitHub Actions
Some checks failed
CI / test (push) Failing after 10s
CI / build (push) Has been skipped
2026-03-22 16:56:41 +00:00
591cca959b fix: update CI workflow to use explicit GitHub action URLs for Gitea compatibility
Some checks failed
CI / build (push) Has been cancelled
CI / test (push) Has been cancelled
2026-03-22 16:52:33 +00:00

View File

@@ -2,47 +2,30 @@ name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
- name: Check system
run: |
pip install -e ".[dev]"
- name: Run linting
uname -a
cat /etc/os-release 2>/dev/null | head -5
- name: Install Python
run: |
if ! command -v python3 &> /dev/null; then
curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py
curl -sSL https://www.python.org/ftp/python/3.11.0/python-3.11.0-linux-x86_64.tar.gz -o python.tar.gz
tar -xzf python.tar.gz
export PATH="/app/python-3.11.0:$PATH"
fi
python3 --version
- name: Install deps
run: pip3 install -e ".[dev]"
- name: Lint
run: ruff check src/
- name: Run tests
run: pytest tests/ -v
build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: pip install -e .
- name: Verify import
run: python -c "import memory_manager; print(memory_manager.__version__)"
- name: Verify CLI
run: memory --version
- name: Type check
run: mypy src/
- name: Test
run: pytest tests/ -v