Skip to content

Commit cecc09a

Browse files
Make ci.yml more similar to python-package.yml (#100)
Recently we had some builds failing on the CI file but not on the python-package one. Probably a result of changes that happened only in python-package. They might have diverged, bringing them together again.
1 parent 098eb09 commit cecc09a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v3
15+
with:
16+
submodules: true
1517
- name: Install dependencies
1618
run: |
1719
python -m pip install --upgrade pip
@@ -21,7 +23,7 @@ jobs:
2123
black --check codecov_cli
2224
- name: Check imports order with isort
2325
run: |
24-
isort --check --profile=black codecov_cli
26+
isort --check --profile=black codecov_cli -p staticcodecov_languages
2527
2628
2729
build:
@@ -33,14 +35,12 @@ jobs:
3335
steps:
3436
- uses: actions/checkout@v3
3537
with:
38+
submodules: true
3639
fetch-depth: 2
3740
- name: Set up Python 3.10
3841
uses: actions/setup-python@v3
3942
with:
4043
python-version: "3.10"
41-
- name: Git Sumbodule Update
42-
run: |
43-
git pull --recurse-submodules
4444
- name: Install dependencies
4545
run: |
4646
python -m pip install --upgrade pip
@@ -60,6 +60,8 @@ jobs:
6060
needs: build
6161
steps:
6262
- uses: actions/checkout@v3
63+
with:
64+
submodules: true
6365
- name: Build executable with pyinstaller
6466
run: |
6567
pip install pyinstaller

0 commit comments

Comments
 (0)