chatmail/.github/workflows/ci.yaml

36 lines
759 B
YAML
Raw Normal View History

2023-10-20 11:06:27 +02:00
name: CI
on:
pull_request:
push:
jobs:
2023-10-21 12:49:05 +02:00
tox:
name: chatmail tests
2023-10-20 11:06:27 +02:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2023-12-10 18:40:09 +01:00
2023-10-21 12:49:05 +02:00
- name: run chatmaild tests
2023-10-20 11:06:27 +02:00
working-directory: chatmaild
run: pipx run tox
2023-12-10 18:40:09 +01:00
2023-10-21 12:49:05 +02:00
- name: run deploy-chatmail offline tests
2023-10-20 11:06:27 +02:00
working-directory: deploy-chatmail
run: pipx run tox
2023-10-21 12:49:05 +02:00
- name: run deploy-chatmail offline tests
working-directory: deploy-chatmail
run: pipx run tox
2023-10-21 12:51:30 +02:00
scripts:
2023-12-10 18:40:09 +01:00
name: cmdeploy invocations
2023-10-21 12:51:30 +02:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2023-12-09 17:45:26 +01:00
2023-12-10 18:40:09 +01:00
- name: initenv
run: scripts/initenv.sh
2023-12-09 17:45:26 +01:00
2023-12-10 18:40:09 +01:00
- name: initialize with chatmail domain
2023-12-10 18:28:40 +01:00
run: venv/bin/cmdeploy init chat.example.org