File tree Expand file tree Collapse file tree 2 files changed +50
-0
lines changed
Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright 2023 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # https://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ name : Basic Usage
16+
17+ on :
18+ workflow_call :
19+
20+ permissions :
21+ contents : read
22+
23+ jobs :
24+ build-and-test :
25+ runs-on : ubuntu-22.04
26+ strategy :
27+ matrix :
28+ python-version : ["3.10", "3.11"]
29+ steps :
30+ - uses : actions/checkout@v3
31+ - name : Set up Python ${{ matrix.python-version }}
32+ uses : actions/setup-python@v3
33+ with :
34+ python-version : ${{ matrix.python-version }}
35+ - name : Prepare directories
36+ run : mkdir -p ~/.cache/pip
37+ - name : Restore cached dependencies
38+ uses : actions/cache@v4
39+ with :
40+ path : |
41+ /usr/local/bin/kubectl-kueue
42+ ~/.cache/pip
43+ ${{env.pythonLocation}}
44+ key : xpk-deps-${{matrix.python-version}}-${{github.run_id}}-${{github.run_attempt}}
45+ restore-keys : xpk-deps-${{matrix.python-version}}-
46+ - name : Run xpk
47+ run : xpk
Original file line number Diff line number Diff line change 6868 run-unit-tests :
6969 needs : [install-dependencies]
7070 uses : ./.github/workflows/reusable_unit_tests.yaml
71+ run-basic-usage-test :
72+ needs : [install-dependencies]
73+ uses : ./.github/workflows/basic_usage_test.yaml
You can’t perform that action at this time.
0 commit comments