Allow to configure if pushkey should be converted to hex before sending to APNs #360
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting and Tests | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
jobs: | |
check-code-style: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.7" | |
- run: python -m pip install tox | |
- run: tox -e check_codestyle | |
check-types-mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.7" | |
- run: python -m pip install tox | |
- run: tox -e check_types | |
run-unit-tests: | |
name: Unit tests | |
needs: [check-code-style, check-types-mypy] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.7" | |
- run: python -m pip install -e . | |
- run: trial tests | |
run-unit-tests-olddeps: | |
name: Unit tests (old dependencies) | |
needs: [ check-code-style, check-types-mypy ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.7" | |
- name: Install old dependencies | |
run: pip install -r <(./scripts-dev/old_deps.py) | |
- name: Install Sygnal | |
run: python -m pip install -e . | |
- run: trial tests |