Skip to content

Commit 69167fd

Browse files
committed
fix: CI
1 parent 1f669fe commit 69167fd

File tree

5 files changed

+17
-36
lines changed

5 files changed

+17
-36
lines changed

.github/actions/setup_environment.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: Setup CI Environment
22
inputs:
3-
branch:
4-
type: string
53
python-version:
64
default: "3.9"
75
type: string
@@ -14,13 +12,8 @@ runs:
1412
with:
1513
python-version: ${{ inputs.python-version }}
1614

17-
- name: Checkout Repository
18-
uses: actions/checkout@v3
19-
with:
20-
ref: ${{ inputs.branch }}
21-
submodules: recursive
22-
2315
- name: Install CI Dependencies
16+
shell: bash
2417
run: |
2518
pip install -r ci_requirements.txt
2619
echo "/home/runner/.local/bin" >> $GITHUB_PATH

.github/workflows/build_and_upload_wheel.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@ jobs:
2222
wheel_build:
2323
runs-on: ubuntu-latest
2424
steps:
25+
- name: Checkout Repository
26+
uses: actions/checkout@v3
27+
with:
28+
ref: ${{ inputs.branch }}
29+
submodules: recursive
30+
2531
- name: Setup Environment
2632
uses: ./.github/actions/setup_environment
27-
with:
28-
branch: ${{ inputs.branch }}
2933

3034
- name: Build Wheel
3135
run: |

.github/workflows/run_linting.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ jobs:
1111
lint:
1212
runs-on: ubuntu-latest
1313
steps:
14+
- name: Checkout Repository
15+
uses: actions/checkout@v3
16+
with:
17+
submodules: recursive
18+
1419
- name: Setup Environment
1520
uses: ./.github/actions/setup_environment
1621

.github/workflows/run_tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
- "3.9"
2222
#- "3.10"
2323
steps:
24+
- name: Checkout Repository
25+
uses: actions/checkout@v3
26+
with:
27+
submodules: recursive
28+
2429
- name: Setup Environment
2530
uses: ./.github/actions/setup_environment
2631
with:

0 commit comments

Comments
 (0)