ci: debug 1

This commit is contained in:
Zack Fu Zi Xiang 2024-04-29 20:24:50 +08:00
parent 2305fde94d
commit 73a3bafa29
No known key found for this signature in database
2 changed files with 16 additions and 13 deletions

View File

@ -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

View File

@ -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)