Fix fiddle serialization bug that affects class methods referenced from child classes. #1929
Workflow file for this run
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: Python testing | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| pull_request: | |
| branches: | |
| - 'main' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # tensorflow-text (and hence seqio) is not available for python 3.13 | |
| python-version: ["3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies and package | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e .[testing] | |
| - name: Test with pytest | |
| run: | | |
| pytest --ignore=fiddle/_src/extensions/seqio_test.py fiddle |