diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-07-30 21:39:13 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-07-30 21:39:13 +0300 |
commit | ce4b199fe472c23f37376fc2e30e946c93bd4952 (patch) | |
tree | ada8ee10ace169e86ab6477307ea0aa8de3d95e4 /.github/workflows | |
parent | v1.1.1 (diff) | |
download | cgitize-ce4b199fe472c23f37376fc2e30e946c93bd4952.tar.gz cgitize-ce4b199fe472c23f37376fc2e30e946c93bd4952.zip |
add some unit tests
This is a first step towards integrating with GitHub/Bitbucket properly.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 8 |
1 files changed, 6 insertions, 2 deletions
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: |