feat: Implement DataFrame filtering methods and tests #128
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| id-token: write | |
| jobs: | |
| build-test-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: 8 | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Lint | |
| run: pnpm lint | |
| - name: Check Prettier version | |
| run: pnpm prettier --version | |
| - name: Prettier diff | |
| run: | | |
| cp src/core/dataframe/DataFrame.js /tmp/before.js | |
| pnpm prettier --write src/core/dataframe/DataFrame.js | |
| diff -u /tmp/before.js src/core/dataframe/DataFrame.js || true | |
| - name: Format check (non-blocking) | |
| continue-on-error: true | |
| run: pnpm format:check | |
| - name: Run tests | |
| run: pnpm test | |
| - name: PR AI Review (local) | |
| if: github.event_name == 'pull_request' | |
| uses: ./.github/actions/pr-codex-local | |
| with: | |
| openai_api_key: ${{ secrets.OPENAI_API_KEY }} | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Upload coverage to Codecov | |
| if: hashFiles('coverage/lcov.info') != '' | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| use_oidc: true | |
| fail_ci_if_error: false | |
| verbose: true |