diff --git a/.github/workflows/zeyple.yml b/.github/workflows/zeyple.yml index 8f65669..e419150 100644 --- a/.github/workflows/zeyple.yml +++ b/.github/workflows/zeyple.yml @@ -31,13 +31,15 @@ jobs: sudo apt-get install -y mailutils ruby ruby-dev rubygems build-essential sudo gnupg python3-gpg sudo gem install --no-document fpm python -m pip install --upgrade pip setuptools wheel - python -m pip install --upgrade tox + python -m pip install --upgrade mock pycodestyle pytest pytest-cov - name: Build deb package run: ./fpm/create - name: End to end test using deb package run: sudo bash -ex ./tests/e2e.sh - - name: Test with tox - run: tox + - name: Lint with pycodestyle + run: pycodestyle --show-pep8 --max-line-length=100 + - name: Test with pytest + run: python -m pytest --cov=zeyple/ --cov-report=html --import-mode=importlib - name: Upload deb package uses: actions/upload-artifact@v1 with: