diff options
-rw-r--r-- | .github/workflows/ci.yml | 5 | ||||
-rw-r--r-- | examples/cgitize.toml | 2 | ||||
-rwxr-xr-x | test/integration/example/test.sh | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 43ebec4..449b462 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,6 +97,9 @@ jobs: needs: [test_local, test_example_config, test_docker] runs-on: ubuntu-latest name: 'Publish: PyPI' + env: + # Same rate limit thing: + CGITIZE_GITHUB_ACCESS_TOKEN: '${{ secrets.CGITIZE_GITHUB_ACCESS_TOKEN }}' steps: - name: Checkout uses: actions/checkout@v2 @@ -104,6 +107,8 @@ jobs: uses: actions/setup-python@v2 - name: Verify package can be installed run: python3 -m pip install . + - name: Integration test (example config) + run: cgitize --config examples/cgitize.toml - name: Install package builder run: python3 -m pip install --upgrade build - name: Build package diff --git a/examples/cgitize.toml b/examples/cgitize.toml index bb7433e..d0cf0c0 100644 --- a/examples/cgitize.toml +++ b/examples/cgitize.toml @@ -8,7 +8,7 @@ output_dir = "/tmp/cgitize" clone_url = "https://yourhost.com/git/{name}" # Clones via SSH by default. -clone_via_ssh = true +clone_via_ssh = false # Unless this is specified, cgit is going to derive the owner from the # repository's directory ownership. diff --git a/test/integration/example/test.sh b/test/integration/example/test.sh index ee5656d..f1f193d 100755 --- a/test/integration/example/test.sh +++ b/test/integration/example/test.sh @@ -26,7 +26,7 @@ cleanup() { echo "Removing output directory: $output_dir" rm -rf -- "$output_dir" echo "Reverting clone_via_ssh settings: $cgitize_toml_path" - clone_via_ssh_true + clone_via_ssh_false } cgitize() { |