Skip to content

Commit 295730f

Browse files
committed
fix submodule recursive in github actions:
1 parent 28bc064 commit 295730f

File tree

7 files changed

+14
-8
lines changed

7 files changed

+14
-8
lines changed

.github/workflows/dist.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10+
with:
11+
submodules: recursive
1012
- name: Setup Python
1113
uses: actions/setup-python@v2
1214
with:

.github/workflows/docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v2
9+
with:
10+
submodules: recursive
911
- name: Setup Python
1012
uses: actions/setup-python@v2
1113
with:
1214
python-version: 3.8
1315
- name: Install dependencies
1416
run: |
15-
git submodule update --init --recursive
1617
pip install -e .[docs,examples]
1718
- name: Make docs
1819
run: |

.github/workflows/long_regression_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
- uses: actions/checkout@v2
2222
with:
2323
ref: development
24+
submodules: recursive
2425
- name: Setup Python ${{ matrix.python-version }}
2526
uses: actions/setup-python@v2
2627
with:
2728
python-version: ${{ matrix.python-version }}
2829
- name: Install test dependencies
2930
run: |
30-
git submodule update --init --recursive
3131
python -m pip install --upgrade pip
3232
pip install -e .[test]
3333
- name: Run tests

.github/workflows/pre-commit.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10+
with:
11+
submodules: recursive
1012
- name: Setup Python 3.7
1113
uses: actions/setup-python@v2
1214
with:
1315
python-version: 3.7
14-
- name: Init Submodules
15-
run: |
16-
git submodule update --init --recursive
1716
- name: Install pre-commit
1817
run: |
1918
pip install pre-commit

.github/workflows/pytest.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v2
20+
with:
21+
submodules: recursive
2022
- name: Setup Python ${{ matrix.python-version }}
2123
uses: actions/setup-python@v2
2224
with:
2325
python-version: ${{ matrix.python-version }}
2426
- name: Install test dependencies
2527
run: |
26-
git submodule update --init --recursive
2728
python -m pip install --upgrade pip
2829
pip install -e .[test]
2930
- name: Store repository status

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
steps:
1515
- name: Checkout source
1616
uses: actions/checkout@master
17+
with:
18+
submodules: recursive
1719

1820
- name: Set up Python 3.9
1921
uses: actions/setup-python@v2
@@ -48,4 +50,4 @@ jobs:
4850
uses: pypa/gh-action-pypi-publish@master
4951
with:
5052
user: __token__
51-
password: ${{ secrets.PYPI_TOKEN_NO_NEWLINE }}
53+
password: ${{ secrets.PYPI_TOKEN }}

.github/workflows/scheduled_test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v2
2121
with:
22-
ref: development
22+
ref: master
23+
submodules: recursive
2324
- name: Setup Python ${{ matrix.python-version }}
2425
uses: actions/setup-python@v2
2526
with:

0 commit comments

Comments
 (0)