Skip to content

minor changes in mlflow and tensorboard interceptors #2

minor changes in mlflow and tensorboard interceptors

minor changes in mlflow and tensorboard interceptors #2

name: Tests on Py313
on:
push:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.13" ]
env:
MONGO_ENABLED: true
LMDB_ENABLED: false
timeout-minutes: 60
if: "!contains(github.event.head_commit.message, 'CI Bot')"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Show OS Info
run: '[[ "$OSTYPE" == "linux-gnu"* ]] && { echo "OS Type: Linux"; (command -v lsb_release &> /dev/null && lsb_release -a) || cat /etc/os-release; uname -r; } || [[ "$OSTYPE" == "darwin"* ]] && { echo "OS Type: macOS"; sw_vers; uname -r; } || echo "Unsupported OS type: $OSTYPE"'
- name: Start docker compose with redis
run: make services-mongo
- name: Upgrade pip
run: python -m pip install --upgrade pip

Check failure on line 37 in .github/workflows/run-tests-py313.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/run-tests-py313.yml

Invalid workflow file

You have an error in your yaml syntax on line 37
- name: Install dependencies that work on py3.13
run: |
# Extract dependencies from the pyproject.toml (excluding 'lmdb')
dependencies=$(grep -A 10 "\[project\]" pyproject.toml | \
grep -oP '"([^"]+)"' | \
grep -v 'lmdb') # Excluding lmdb
echo $dependencies
pip install . --no-deps
pip install $dependencies
pip install .[mongo,analytics,dask,docs,kafka,mlflow,dev]
- name: List installed packages
run: pip list
- name: Test with pytest and redis, ignoring the ones that (as of the day I am writing this) don't work on py3.13)
run: |
pytest --ignore=tests/adapters/test_tensorboard.py --ignore tests/decorator_tests/ml_tests/
- name: Shut down docker compose
run: make services-stop-mongo
- name: Clean up
run: |
make clean
find /home/runner/runners/ -type f -name "*.log" -exec sh -c 'echo {}; >"{}"' \; || true
docker image prune -a -f