Skip to content

Commit 0854aec

Browse files
committed
Temporarily disable unit tests because...
We moved these tests to @the-draupnir-project/interface-manager. We will get some more unit tests shortly...
1 parent 4613e88 commit 0854aec

File tree

1 file changed

+46
-57
lines changed

1 file changed

+46
-57
lines changed

.github/workflows/mjolnir.yml

Lines changed: 46 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ name: Tests
66

77
on:
88
push:
9-
branches: [ main ]
9+
branches: [main]
1010
pull_request:
11-
branches: [ main ]
11+
branches: [main]
1212
schedule:
13-
- cron: '20 20 * * *'
13+
- cron: "20 20 * * *"
1414
env:
1515
CARGO_TERM_COLOR: always
1616

@@ -19,68 +19,57 @@ jobs:
1919
name: Build & Lint
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v4
2323

24-
- name: Specifically use node 18 like in the readme.
25-
uses: actions/setup-node@v4
26-
with:
27-
node-version: '18'
28-
- run: corepack enable
29-
- run: corepack yarn install
30-
- run: corepack yarn build
31-
- run: corepack yarn lint
32-
unit:
33-
name: Unit tests
34-
runs-on: ubuntu-latest
35-
steps:
36-
- uses: actions/checkout@v4
37-
- name: Specifically use node 18 like in the readme.
38-
uses: actions/setup-node@v4
39-
with:
40-
node-version: '18'
41-
- run: corepack yarn install
42-
- run: corepack yarn test
24+
- name: Specifically use node 18 like in the readme.
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: "18"
28+
- run: corepack enable
29+
- run: corepack yarn install
30+
- run: corepack yarn build
31+
- run: corepack yarn lint
4332
integration:
4433
name: Integration tests
4534
runs-on: ubuntu-latest
4635
timeout-minutes: 60
4736
steps:
48-
- uses: actions/checkout@v4
49-
- uses: actions/setup-node@v4
50-
with:
51-
node-version: '18'
52-
- name: Fetch and build mx-tester (cached across runs)
53-
uses: baptiste0928/cargo-install@v3
54-
with:
55-
crate: mx-tester
56-
version: "0.3.3"
57-
- name: Setup image
58-
run: RUST_LOG=debug,hyper=info,rusttls=info mx-tester build up
59-
- name: Setup dependencies
60-
run: corepack yarn install
61-
- name: Run tests
62-
run: RUST_LOG=debug,hyper=info,rusttls=info mx-tester run
63-
- name: Cleanup
64-
run: mx-tester down
37+
- uses: actions/checkout@v4
38+
- uses: actions/setup-node@v4
39+
with:
40+
node-version: "18"
41+
- name: Fetch and build mx-tester (cached across runs)
42+
uses: baptiste0928/cargo-install@v3
43+
with:
44+
crate: mx-tester
45+
version: "0.3.3"
46+
- name: Setup image
47+
run: RUST_LOG=debug,hyper=info,rusttls=info mx-tester build up
48+
- name: Setup dependencies
49+
run: corepack yarn install
50+
- name: Run tests
51+
run: RUST_LOG=debug,hyper=info,rusttls=info mx-tester run
52+
- name: Cleanup
53+
run: mx-tester down
6554
appservice-integration:
6655
name: Application Service Integration tests
6756
runs-on: ubuntu-latest
6857
timeout-minutes: 30
6958
steps:
70-
- uses: actions/checkout@v4
71-
- uses: actions/setup-node@v4
72-
with:
73-
node-version: '18'
74-
- name: Fetch and build mx-tester (cached across runs)
75-
uses: baptiste0928/cargo-install@v3
76-
with:
77-
crate: mx-tester
78-
version: "0.3.3"
79-
- name: Setup image
80-
run: RUST_LOG=debug,hyper=info,rusttls=info mx-tester build up
81-
- name: Setup dependencies
82-
run: corepack yarn install
83-
- name: Run tests
84-
run: corepack yarn test:appservice:integration
85-
- name: Cleanup
86-
run: mx-tester down
59+
- uses: actions/checkout@v4
60+
- uses: actions/setup-node@v4
61+
with:
62+
node-version: "18"
63+
- name: Fetch and build mx-tester (cached across runs)
64+
uses: baptiste0928/cargo-install@v3
65+
with:
66+
crate: mx-tester
67+
version: "0.3.3"
68+
- name: Setup image
69+
run: RUST_LOG=debug,hyper=info,rusttls=info mx-tester build up
70+
- name: Setup dependencies
71+
run: corepack yarn install
72+
- name: Run tests
73+
run: corepack yarn test:appservice:integration
74+
- name: Cleanup
75+
run: mx-tester down

0 commit comments

Comments
 (0)