Skip to content

fix: don't crash if user doesn't exist in mailcow #328

fix: don't crash if user doesn't exist in mailcow

fix: don't crash if user doesn't exist in mailcow #328

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
sudo apt install -y libzbar0
python -m pip install -U pip
pip install tox tox-gh-actions
- name: Run Tox
run: MAILCOW_TOKEN=${{ secrets.MAILCOW_TOKEN }} MAILCOW_ENDPOINT=${{ vars.MAILCOW_ENDPOINT }} MAIL_DOMAIN=${{ vars.MAIL_DOMAIN }} tox