|
75 | 75 | files: apps-coverage.xml |
76 | 76 | token: ${{ secrets.CODECOV_TOKEN }} |
77 | 77 | fail_ci_if_error: false |
78 | | - - name: Test integrations |
79 | | - if: ${{ matrix.backend != 'numpy' && matrix.nnx_enabled == false }} |
80 | | - run: | |
81 | | - python integration_tests/import_test.py |
82 | | - python integration_tests/numerical_test.py |
83 | | - - name: Test JAX-specific integrations |
84 | | - if: ${{ matrix.backend == 'jax' && matrix.nnx_enabled == false }} |
85 | | - run: | |
86 | | - python integration_tests/jax_custom_fit_test.py |
87 | | - - name: Test basic flow with NNX |
88 | | - if: ${{ matrix.nnx_enabled == true }} |
89 | | - env: |
90 | | - KERAS_NNX_ENABLED: true |
91 | | - run: | |
92 | | - python integration_tests/import_test.py |
93 | | - python integration_tests/basic_full_flow.py |
94 | | - - name: Test TF-specific integrations |
95 | | - if: ${{ matrix.backend == 'tensorflow'}} |
96 | | - run: | |
97 | | - python integration_tests/tf_distribute_training_test.py |
98 | | - python integration_tests/tf_custom_fit_test.py |
99 | | - - name: Test Torch-specific integrations |
100 | | - if: ${{ matrix.backend == 'torch'}} |
101 | | - run: | |
102 | | - pytest integration_tests/torch_workflow_test.py |
103 | | - python integration_tests/torch_custom_fit_test.py |
104 | 78 | - name: Test with pytest |
105 | 79 | if: ${{ matrix.nnx_enabled == false }} |
106 | 80 | run: | |
|
110 | 84 | else |
111 | 85 | IGNORE_ARGS="" |
112 | 86 | fi |
113 | | - pytest keras --ignore keras/src/applications --cov=keras --cov-config=pyproject.toml $IGNORE_ARGS |
| 87 | + pytest keras/src/export/saved_model_test.py --ignore keras/src/applications --cov=keras --cov-config=pyproject.toml $IGNORE_ARGS |
114 | 88 | coverage xml --omit='keras/src/applications/*,keras/api' -o core-coverage.xml |
115 | 89 | - name: Codecov keras |
116 | 90 | if: ${{ matrix.nnx_enabled == false }} |
|
0 commit comments