diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml index 227493b..ad4da3c 100644 --- a/.github/workflows/build-artifacts.yml +++ b/.github/workflows/build-artifacts.yml @@ -77,7 +77,7 @@ jobs: - name: Prepare build env run: | python3 -m pip install --upgrade pip - pip3 install git+git://github.com/rospypi/index_builder.git@${{ env.INDEX_BUILDER_COMMIT }} + pip3 install git+https://github.com/rospypi/index_builder.git@${{ env.INDEX_BUILDER_COMMIT }} - name: Build index html run: | git clone https://github.com/rospypi/simple.git simple diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index 89439dd..5dfdeb2 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -18,6 +18,10 @@ jobs: # python:3.8-buster has git>=2.20 which actions/checkout@v2 requires image: python:3.8-buster steps: + - name: Configure git + shell: bash + run: | + git config --global --add safe.directory $(pwd) - uses: actions/checkout@v2 - name: Set up Python run: | diff --git a/assets/build_ros_stubs.py b/assets/build_ros_stubs.py index 474716b..dc92bdd 100644 --- a/assets/build_ros_stubs.py +++ b/assets/build_ros_stubs.py @@ -51,7 +51,7 @@ def run( ctx.variables["BUILD_ENV_DIR"] = str(build_env_dir) _logger.info("Running buildtool") - artifacts = builder.build(ctx) + artifacts: List[builder.ArtifactInfo] = builder.build(ctx) print(" ===== Build Result =====") for artifact in artifacts: previous_version = "-" diff --git a/tox.ini b/tox.ini index a5e1657..3c99a1c 100644 --- a/tox.ini +++ b/tox.ini @@ -7,6 +7,8 @@ skip_install = true deps = pipenv==2020.11.15 changedir = assets +setenv = + PYSEN_IGNORE_GIT = 1 commands = pipenv sync --dev pipenv run pysen run lint