mirror of
https://github.com/caronc/apprise.git
synced 2025-01-24 06:48:56 +01:00
Drop PyPy unit testing - improves consistency (#922)
This commit is contained in:
parent
3d16cbf3d3
commit
c56d4c500d
11
.github/workflows/tests.yml
vendored
11
.github/workflows/tests.yml
vendored
@ -64,12 +64,6 @@ jobs:
|
||||
- os: "ubuntu-latest"
|
||||
python-version: "3.11"
|
||||
|
||||
# Test more available versions of PyPy on Linux.
|
||||
- os: "ubuntu-latest"
|
||||
python-version: "pypy3.8"
|
||||
- os: "ubuntu-latest"
|
||||
python-version: "pypy3.9"
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@ -114,13 +108,10 @@ jobs:
|
||||
run: |
|
||||
pip install -r all-plugin-requirements.txt
|
||||
|
||||
# Installing `dbus-python` will only work on Linux/CPython.
|
||||
[[ $RUNNER_OS = "Linux" && $PYTHON != 'pypy'* ]] && pip install dbus-python || true
|
||||
|
||||
- name: Install project dependencies (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
run: |
|
||||
[[ $PYTHON != 'pypy'* ]] && pip install -r win-requirements.txt || true
|
||||
pip install -r win-requirements.txt || true
|
||||
|
||||
# Install package in editable mode,
|
||||
# and run project-specific tasks.
|
||||
|
@ -240,8 +240,7 @@ class NotifyBoxcar(NotifyBase):
|
||||
if title:
|
||||
payload['aps']['@title'] = title
|
||||
|
||||
if body:
|
||||
payload['aps']['alert'] = body
|
||||
payload['aps']['alert'] = body
|
||||
|
||||
if self._tags:
|
||||
payload['tags'] = {'or': self._tags}
|
||||
|
Loading…
Reference in New Issue
Block a user