Skip to content

Commit bf556bf

Browse files
committed
feat: re-use cmlxc workflow from chatmail/cmlxc to perform testing
1 parent 5486345 commit bf556bf

File tree

3 files changed

+11
-205
lines changed

3 files changed

+11
-205
lines changed

.github/workflows/ci.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: isolated chatmaild tests
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
# Checkout pull request HEAD commit instead of merge commit
1414
# Otherwise `test_deployed_state` will be unhappy.
1515
with:
@@ -24,7 +24,7 @@ jobs:
2424
name: deploy-chatmail tests
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v6
2828

2929
- name: initenv
3030
run: scripts/initenv.sh
@@ -38,5 +38,12 @@ jobs:
3838
- name: run deploy-chatmail offline tests
3939
run: pytest --pyargs cmdeploy
4040

41-
# all other cmdeploy commands require a staging server
42-
# see https://github.com/deltachat/chatmail/issues/100
41+
lxc-test:
42+
name: LXC deploy and test
43+
uses: chatmail/cmlxc/.github/workflows/lxc-test.yml@main
44+
with:
45+
cmlxc_commands: |
46+
cmlxc init --cmdeploy ./repo
47+
cmlxc deploy-cmdeploy -vv cm0 cm1
48+
cmlxc test-mini cm0 cm1
49+
cmlxc test-cmdeploy -vv cm0 cm1

.github/workflows/test-and-deploy-ipv4only.yaml

Lines changed: 0 additions & 104 deletions
This file was deleted.

.github/workflows/test-and-deploy.yaml

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)