aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-12 21:59:23 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-12 21:59:23 +0200
commit7426d68a9ff7f0072b498fe81278037943440d5e (patch)
treea0180cb0027ed9bf32b8d75e0039c678e974d5e3 /.github/workflows/ci.yml
parenttest: no need to pre-configure git, remove some warnings (diff)
downloadcgitize-7426d68a9ff7f0072b498fe81278037943440d5e.tar.gz
cgitize-7426d68a9ff7f0072b498fe81278037943440d5e.zip
Makefile: add shortcuts for integration tests
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index dedadd7..96d8d0b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -32,10 +32,10 @@ jobs:
run: pip install -q -e .
- name: Verify that scripts are runnable
run: cgitize --version
- - name: Integration test (local)
- run: ./test/integration/local/test.sh
- name: Unit tests
- run: python -m unittest --buffer
+ run: make test/unit
+ - name: Integration test (local)
+ run: make test/local
test_docker:
runs-on: ubuntu-latest
@@ -44,7 +44,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Integration test (Docker)
- run: sudo ./test/integration/docker/test.sh
+ run: sudo make test/docker
test_example_config:
needs: [test_local, test_docker]
@@ -74,7 +74,7 @@ jobs:
with:
ssh-private-key: '${{ secrets.SSH_KEY }}'
- name: Integration test (example config)
- run: ./test/integration/example/test.sh
+ run: make test/example
publish_docker:
needs: [test_local, test_example_config, test_docker]