From 63b18f3fd30045541762b6c424ac72f9bf858e8a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 1 Aug 2021 17:59:59 +0300 Subject: workflows/ci: run integration tests for PyPI The example config must have clone_via_ssh = false for that to work. --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.github') 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 -- cgit v1.2.3