40 extend groupby accessor to pdseries and pdresample #1
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: Run tests on pull requests | |
| on: [pull_request] | |
| jobs: | |
| run-tests: | |
| runs-on: ubuntu-latest | |
| name: Run test suite | |
| # https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - uses: prefix-dev/[email protected] | |
| with: | |
| cache: true | |
| environments: tests | |
| - name: Run tests | |
| run: | | |
| pixi run test | |
| # https://github.com/codecov/codecov-action | |
| - name: Upload code coverage | |
| uses: codecov/codecov-action@v2 | |
| with: | |
| # fail_ci_if_error: true # optional (default = false) | |
| verbose: true # optional (default = false) | |
| # This helps us check that pyproject.toml's `project` table's `dependencies` | |
| # are defined completely. | |
| bare-install: | |
| runs-on: ubuntu-latest | |
| name: Run bare installation test | |
| strategy: | |
| matrix: | |
| python-version: ['3.9', '3.10', '3.11', '3.12'] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install package | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e . | |
| - name: Run import test | |
| run: python -c "import pandas_flavor; print('Import successful')" |