Skip to content

Commit

Permalink
Fix GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
infertux committed Sep 9, 2024
1 parent c1c184a commit f8e3dbe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/zeyple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ You will need the following development dependencies.

* Packages:
* Arch Linux: `pacman -S python-gpgme`
* Debian/Ubuntu: `apt-get install libgpgme-dev`
* Fedora: `yum install gpgme-devel python-devel python3-devel`
* Debian/Ubuntu: `apt-get install python3-gpg libgpgme-dev`
* Fedora: `yum install python3-devel gpgme-devel`
* Python eggs: `pip install -r requirements.txt`

## Testing
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pygpgme
six>=1.12.0
pytest>=4.1.0
pytest-cov>=2.6.1
Expand Down

0 comments on commit f8e3dbe

Please sign in to comment.