refactor: Use pure python to implment opendalfs (#25) #39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
integration-tests: | |
name: Integration Tests | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
- name: Set up Python | |
run: uv python install | |
- name: Install the project | |
run: uv sync --locked --all-extras --dev | |
- name: Start MinIO server | |
run: | | |
docker compose -f tests/docker/docker-compose.yml up -d | |
# Wait for MinIO to be healthy | |
sleep 10 | |
- name: Run tests | |
env: | |
MINIO_ROOT_USER: minioadmin | |
MINIO_ROOT_PASSWORD: minioadmin | |
run: uv run pytest -v --cov=opendalfs --cov-report=xml |