mirror of https://github.com/caronc/apprise
Drop PyPy unit testing - improves consistency (#922)
parent
3d16cbf3d3
commit
c56d4c500d
|
@ -64,12 +64,6 @@ jobs:
|
||||||
- os: "ubuntu-latest"
|
- os: "ubuntu-latest"
|
||||||
python-version: "3.11"
|
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:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -114,13 +108,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pip install -r all-plugin-requirements.txt
|
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)
|
- name: Install project dependencies (Windows)
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: |
|
run: |
|
||||||
[[ $PYTHON != 'pypy'* ]] && pip install -r win-requirements.txt || true
|
pip install -r win-requirements.txt || true
|
||||||
|
|
||||||
# Install package in editable mode,
|
# Install package in editable mode,
|
||||||
# and run project-specific tasks.
|
# and run project-specific tasks.
|
||||||
|
|
|
@ -240,8 +240,7 @@ class NotifyBoxcar(NotifyBase):
|
||||||
if title:
|
if title:
|
||||||
payload['aps']['@title'] = title
|
payload['aps']['@title'] = title
|
||||||
|
|
||||||
if body:
|
payload['aps']['alert'] = body
|
||||||
payload['aps']['alert'] = body
|
|
||||||
|
|
||||||
if self._tags:
|
if self._tags:
|
||||||
payload['tags'] = {'or': self._tags}
|
payload['tags'] = {'or': self._tags}
|
||||||
|
|
Loading…
Reference in New Issue