diff --git a/.github/workflows/zeyple.yml b/.github/workflows/zeyple.yml index 0070995..6b221de 100644 --- a/.github/workflows/zeyple.yml +++ b/.github/workflows/zeyple.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [2.7, 3.7] + python-version: [3.11, 3.12] fail-fast: false steps: - name: Checkout repository @@ -28,12 +28,12 @@ jobs: sudo apt-get install debconf-utils sudo debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Local only'" sudo debconf-set-selections <<< "postfix postfix/mailname string localhost" - sudo apt-get install -y mailutils ruby ruby-dev rubygems build-essential sudo gnupg python-gpg libgpgme-dev swig + sudo apt-get install -y mailutils ruby ruby-dev rubygems build-essential sudo gnupg python3-gpg libgpgme-dev python -m pip install --upgrade pip - pip install -r requirements_gpg.txt + pip install -r requirements.txt sudo gem install --no-document fpm - name: Test - run: python -m pytest tests/ + run: python -m pytest - name: Build deb package run: ./fpm/create - name: End to end test using deb package diff --git a/requirements.txt b/requirements.txt index 04b367f..a2ec5d4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -pygpgme +gpg>=1.10.0 six>=1.12.0 pytest>=4.1.0 pytest-cov>=2.6.1