mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-05-25 09:54:00 +00:00
Temporarily disable unit tests because...
We moved these tests to @the-draupnir-project/interface-manager. We will get some more unit tests shortly...
This commit is contained in:
@@ -6,11 +6,11 @@ name: Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
schedule:
|
||||
- cron: '20 20 * * *'
|
||||
- cron: "20 20 * * *"
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
@@ -19,68 +19,57 @@ jobs:
|
||||
name: Build & Lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Specifically use node 18 like in the readme.
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
- run: corepack enable
|
||||
- run: corepack yarn install
|
||||
- run: corepack yarn build
|
||||
- run: corepack yarn lint
|
||||
unit:
|
||||
name: Unit tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Specifically use node 18 like in the readme.
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
- run: corepack yarn install
|
||||
- run: corepack yarn test
|
||||
- name: Specifically use node 18 like in the readme.
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "18"
|
||||
- run: corepack enable
|
||||
- run: corepack yarn install
|
||||
- run: corepack yarn build
|
||||
- run: corepack yarn lint
|
||||
integration:
|
||||
name: Integration tests
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
- name: Fetch and build mx-tester (cached across runs)
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
crate: mx-tester
|
||||
version: "0.3.3"
|
||||
- name: Setup image
|
||||
run: RUST_LOG=debug,hyper=info,rusttls=info mx-tester build up
|
||||
- name: Setup dependencies
|
||||
run: corepack yarn install
|
||||
- name: Run tests
|
||||
run: RUST_LOG=debug,hyper=info,rusttls=info mx-tester run
|
||||
- name: Cleanup
|
||||
run: mx-tester down
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "18"
|
||||
- name: Fetch and build mx-tester (cached across runs)
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
crate: mx-tester
|
||||
version: "0.3.3"
|
||||
- name: Setup image
|
||||
run: RUST_LOG=debug,hyper=info,rusttls=info mx-tester build up
|
||||
- name: Setup dependencies
|
||||
run: corepack yarn install
|
||||
- name: Run tests
|
||||
run: RUST_LOG=debug,hyper=info,rusttls=info mx-tester run
|
||||
- name: Cleanup
|
||||
run: mx-tester down
|
||||
appservice-integration:
|
||||
name: Application Service Integration tests
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
- name: Fetch and build mx-tester (cached across runs)
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
crate: mx-tester
|
||||
version: "0.3.3"
|
||||
- name: Setup image
|
||||
run: RUST_LOG=debug,hyper=info,rusttls=info mx-tester build up
|
||||
- name: Setup dependencies
|
||||
run: corepack yarn install
|
||||
- name: Run tests
|
||||
run: corepack yarn test:appservice:integration
|
||||
- name: Cleanup
|
||||
run: mx-tester down
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "18"
|
||||
- name: Fetch and build mx-tester (cached across runs)
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
crate: mx-tester
|
||||
version: "0.3.3"
|
||||
- name: Setup image
|
||||
run: RUST_LOG=debug,hyper=info,rusttls=info mx-tester build up
|
||||
- name: Setup dependencies
|
||||
run: corepack yarn install
|
||||
- name: Run tests
|
||||
run: corepack yarn test:appservice:integration
|
||||
- name: Cleanup
|
||||
run: mx-tester down
|
||||
|
||||
Reference in New Issue
Block a user