From 5a157b83ffaf0d88ee5048f56ccf03ecb985d1d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20F=C3=A9lizard?= Date: Mon, 9 Sep 2024 05:33:28 +0000 Subject: [PATCH] WIP --- .github/workflows/zeyple.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/zeyple.yml b/.github/workflows/zeyple.yml index 8f65669..d2c4796 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: env PYTHONPATH=$PYTHONPATH:/usr/lib/python3/dist-packages python -m pytest --cov=zeyple/ --cov-report=html - name: Upload deb package uses: actions/upload-artifact@v1 with: