Add frontend POC with htmx and tera #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code coverage | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
coverage: | |
name: Code coverage | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:16 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: postgres | |
ports: | |
- 5432:5432 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Install the Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install postgresql-client | |
run: sudo apt-get update && sudo apt-get install postgresql-client -y | |
- name: Install tarpaulin | |
run: cargo install cargo-tarpaulin | |
- name: Generate code coverage | |
run: cargo tarpaulin --verbose --workspace |