aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-10-16 13:30:34 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-10-16 17:27:52 +0300
commitd11ae2efc9c59d45bea122d496e43dbb3044f922 (patch)
tree5269ddf0f6cdbabc899feff14abe4dc026fb5182 /.github/workflows
parentworkflows/ci: mention Gitlab access token (diff)
downloadcgitize-d11ae2efc9c59d45bea122d496e43dbb3044f922.tar.gz
cgitize-d11ae2efc9c59d45bea122d496e43dbb3044f922.zip
workflows/ci: run SSH integration tests
Allowed by setting up ssh-agent inside a run.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3f761f1..c20c4cf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -49,6 +49,10 @@ jobs:
uses: actions/setup-python@v2
- name: Install dependencies
run: pip install -r requirements.txt
+ - name: Set up ssh-agent
+ uses: webfactory/ssh-agent@v0.5.3
+ with:
+ ssh-private-key: '${{ secrets.SSH_KEY }}'
- name: Integration test (example config)
run: ./test/integration/example/test.sh
@@ -120,6 +124,10 @@ jobs:
uses: actions/setup-python@v2
- name: Verify package can be installed
run: python3 -m pip install .
+ - name: Set up ssh-agent
+ uses: webfactory/ssh-agent@v0.5.3
+ with:
+ ssh-private-key: '${{ secrets.SSH_KEY }}'
- name: Integration test (example config)
run: cgitize --config examples/cgitize.toml
- name: Install package builder