store devicetokens inside per-user mailboxdir, allow multiple tokens per account, support GETMETADATA and add tests #1184
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: CI | |
on: | |
pull_request: | |
push: | |
jobs: | |
tox: | |
name: isolated chatmaild tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: run chatmaild tests | |
working-directory: chatmaild | |
run: pipx run tox | |
scripts: | |
name: deploy-chatmail tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: initenv | |
run: scripts/initenv.sh | |
- name: append venv/bin to PATH | |
run: echo venv/bin >>$GITHUB_PATH | |
- name: run formatting checks | |
run: cmdeploy fmt -v | |
- name: run deploy-chatmail offline tests | |
run: pytest --pyargs cmdeploy | |
# all other cmdeploy commands require a staging server | |
# see https://github.com/deltachat/chatmail/issues/100 |