Skip to content

Bump pypa/gh-action-pypi-publish #194

Bump pypa/gh-action-pypi-publish

Bump pypa/gh-action-pypi-publish #194

Workflow file for this run

name: Submodule Test
on:
push:
paths-ignore:
- 'docs/**'
jobs:
tests:
name: "test if submodules are up to date"
runs-on: ubuntu-latest
steps:
- uses: "actions/checkout@v4"
with:
submodules: 'true'
# checkout never fetches tags for submodules so do it manually
- name: fetch submodule tags
run: |
git submodule foreach --recursive 'git fetch --tags'
- uses: "actions/setup-python@v5"
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install GitPython
- name: test submodule version
run: |
python tools/test_submodules.py