Skip to content

feat: implement runtime snapshot mechanism (KEP-2599) #5857

feat: implement runtime snapshot mechanism (KEP-2599)

feat: implement runtime snapshot mechanism (KEP-2599) #5857

Workflow file for this run

# Copyright The Kubeflow Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Unit and Integration Test - Python
on:
- pull_request
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
test:
name: Test
runs-on: ubuntu-latest
env:
PYTHONPATH: ${{ github.workspace }}:${PYTHONPATH}
strategy:
fail-fast: false
matrix:
# Python version to run unit and integration tests.
python-version: ["3.12"]
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: ${{ matrix.python-version }}
- name: Run Python unit tests
run: |
make test-python
- name: Run Python integration tests.
run: |
make test-python-integration