bump version to 0.1.9 #30
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, copilot/** ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| python-version: ["3.11", "3.12"] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| # Install the package with dev dependencies | |
| pip install -e ".[dev]" | |
| - name: Verify installation | |
| run: | | |
| python -c "import polystore; print(f'polystore {polystore.__version__} installed successfully')" | |
| python -c "from polystore import FileManager, BackendRegistry, MemoryBackend, DiskBackend; print('All imports successful')" | |
| - name: Lint with ruff | |
| run: | | |
| ruff check src/ tests/ || true | |
| - name: Format check with black | |
| run: | | |
| black --check src/ tests/ || true | |
| - name: Run tests with coverage | |
| run: | | |
| python -m pytest --cov=polystore --cov-report=term-missing --cov-report=xml -v | |
| - name: Upload coverage to Codecov | |
| if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12' | |
| continue-on-error: true | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| file: ./coverage.xml | |
| fail_ci_if_error: false |