From ce4b199fe472c23f37376fc2e30e946c93bd4952 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 30 Jul 2021 21:39:13 +0300 Subject: add some unit tests This is a first step towards integrating with GitHub/Bitbucket properly. --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2867eda..da2f831 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,8 +23,12 @@ jobs: run: | git config --global user.name 'John Doe' git config --global user.email 'John.Doe@example.com' - - name: Test + - name: Install dependencies + run: pip install -r requirements.txt + - name: Integration tests run: ./.ci/local/test.sh + - name: Unit tests + run: python -m unittest --buffer test_docker: runs-on: ubuntu-latest @@ -32,7 +36,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Test + - name: Integration tests run: ./.ci/docker/test.sh publish_docker: -- cgit v1.2.3