ci: debug 1
This commit is contained in:
parent
2305fde94d
commit
73a3bafa29
|
|
@ -61,18 +61,21 @@ jobs:
|
|||
- name: Run Docker-Compose
|
||||
run: |
|
||||
docker compose -f docker-compose-ci.yml up -d
|
||||
sleep 5
|
||||
docker ps -a
|
||||
docker compose logs
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
RUST_LOG="info" DISABLE_CI_TEST_LOG="true" cargo test --workspace
|
||||
# - name: Run tests
|
||||
# run: |
|
||||
# RUST_LOG="info" DISABLE_CI_TEST_LOG="true" cargo test --workspace
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
# - name: Install Node.js
|
||||
# uses: actions/setup-node@v2
|
||||
# with:
|
||||
# node-version: '14'
|
||||
|
||||
- name: Run WASM tests
|
||||
working-directory: ./libs/wasm-test
|
||||
run: |
|
||||
cargo install wasm-pack
|
||||
wasm-pack test --headless --firefox
|
||||
# - name: Run WASM tests
|
||||
# working-directory: ./libs/wasm-test
|
||||
# run: |
|
||||
# cargo install wasm-pack
|
||||
# wasm-pack test --headless --firefox
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@ pub fn get_configuration() -> Result<Config, anyhow::Error> {
|
|||
smtp_host: get_env_var("APPFLOWY_MAILER_SMTP_HOST", "smtp.gmail.com"),
|
||||
smtp_username: get_env_var("APPFLOWY_MAILER_SMTP_USERNAME", "sender@example.com"),
|
||||
smtp_password: get_env_var("APPFLOWY_MAILER_SMTP_PASSWORD", "password").into(),
|
||||
workspace_invite_template_url: get_env_var("APPFLOWY_MAILER_WORKSPACE_INVITE_TEMPLATE_URL", "https://raw.githubusercontent.com/AppFlowy-IO/AppFlowy-Cloud/main/assets/mailer_templates/build_production/workspace_invitation.html"),
|
||||
workspace_invite_template_url: get_env_var("APPFLOWY_MAILER_WORKSPACE_INVITE_TEMPLATE_URL", "https://raw.githubusercontent.com/AppFlowy-IO/Appflowy-Cloud/main/assets/mailer_templates/build_production/workspace_invitation.html"),
|
||||
},
|
||||
};
|
||||
Ok(config)
|
||||
|
|
|
|||
Loading…
Reference in New Issue