Skip to content

Commit

Permalink
Update rust_main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
felipet authored Oct 28, 2024
1 parent a35ffd3 commit 306df94
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/rust_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,12 @@ jobs:
LACOCTELERA__EMAIL_CLIENT__ADMIN_ADDRESS=${{secrets.MAILJET_FROM_EMAIL}}
cargo test
- name: Generate code coverage
run: DATABASE_URL="mariadb://root:password@localhost:3306/test_cocktail" cargo tarpaulin --verbose --all-features --timeout 120 --out xml
run: DATABASE_URL="mariadb://root:password@localhost:3306/test_cocktail"
LACOCTELERA__EMAIL_CLIENT__SANDBOX_MODE=true
LACOCTELERA__EMAIL_CLIENT__API_USER=${{secrets.MAILJET_API_USER}}
LACOCTELERA__EMAIL_CLIENT__API_KEY=${{secrets.MAILJET_API_KEY}}
LACOCTELERA__EMAIL_CLIENT__ADMIN_ADDRESS=${{secrets.MAILJET_FROM_EMAIL}}
cargo tarpaulin --verbose --all-features --timeout 120 --out xml
- name: Upload coverage to codecov.io
uses: codecov/[email protected]
with:
Expand Down

0 comments on commit 306df94

Please sign in to comment.