aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-08-01 17:59:59 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-08-01 18:07:48 +0300
commit63b18f3fd30045541762b6c424ac72f9bf858e8a (patch)
tree60c7ad422848e605bb61e1fca4773e0b8a04a863 /.github
parentdocker: fix Dockerfile after messing with requirements.txt (diff)
downloadcgitize-63b18f3fd30045541762b6c424ac72f9bf858e8a.tar.gz
cgitize-63b18f3fd30045541762b6c424ac72f9bf858e8a.zip
workflows/ci: run integration tests for PyPI
The example config must have clone_via_ssh = false for that to work.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml5
1 files changed, 5 insertions, 0 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