diff --git a/.github/workflows/dist.yml b/.github/workflows/dist.yml index 5dfdcb9be..82f9aa432 100644 --- a/.github/workflows/dist.yml +++ b/.github/workflows/dist.yml @@ -7,6 +7,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + submodules: recursive - name: Setup Python uses: actions/setup-python@v2 with: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f4c1fe618..f6a87c91b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -6,13 +6,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + submodules: recursive - name: Setup Python uses: actions/setup-python@v2 with: python-version: 3.8 - name: Install dependencies run: | - git submodule update --init --recursive pip install -e .[docs,examples] - name: Make docs run: | diff --git a/.github/workflows/long_regression_test.yml b/.github/workflows/long_regression_test.yml index 135c45fb0..e7ccb5ea0 100644 --- a/.github/workflows/long_regression_test.yml +++ b/.github/workflows/long_regression_test.yml @@ -21,13 +21,13 @@ jobs: - uses: actions/checkout@v2 with: ref: development + submodules: recursive - name: Setup Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install test dependencies run: | - git submodule update --init --recursive python -m pip install --upgrade pip pip install -e .[test] - name: Run tests diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml index 8f5b4bca8..5e192375a 100644 --- a/.github/workflows/pre-commit.yaml +++ b/.github/workflows/pre-commit.yaml @@ -7,13 +7,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + submodules: recursive - name: Setup Python 3.7 uses: actions/setup-python@v2 with: python-version: 3.7 - - name: Init Submodules - run: | - git submodule update --init --recursive - name: Install pre-commit run: | pip install pre-commit diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index c1d561655..fed77c484 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -17,13 +17,14 @@ jobs: steps: - uses: actions/checkout@v2 + with: + submodules: recursive - name: Setup Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install test dependencies run: | - git submodule update --init --recursive python -m pip install --upgrade pip pip install -e .[test] - name: Store repository status diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a33e38df2..d76014c44 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,8 @@ jobs: steps: - name: Checkout source uses: actions/checkout@master + with: + submodules: recursive - name: Set up Python 3.9 uses: actions/setup-python@v2 @@ -48,4 +50,4 @@ jobs: uses: pypa/gh-action-pypi-publish@master with: user: __token__ - password: ${{ secrets.PYPI_TOKEN_NO_NEWLINE }} + password: ${{ secrets.PYPI_TOKEN }} diff --git a/.github/workflows/scheduled_test.yml b/.github/workflows/scheduled_test.yml index 68f37d72d..ce9615b0c 100644 --- a/.github/workflows/scheduled_test.yml +++ b/.github/workflows/scheduled_test.yml @@ -19,7 +19,8 @@ jobs: steps: - uses: actions/checkout@v2 with: - ref: development + ref: master + submodules: recursive - name: Setup Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: