feat(website): ✨ restyle the website and add support for some new com… #109
This file contains hidden or 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: Generate Code Coverage | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - edited | |
| paths: | |
| - ".github/workflows/code-coverage.yaml" | |
| - "src/**" | |
| - "rust-toolchain.toml" | |
| - "Cargo.toml" | |
| - "Cargo.lock" | |
| - "Trunk.toml" | |
| push: | |
| branches: | |
| - "main" | |
| - "epic/**" | |
| - "integration/**" | |
| paths: | |
| - ".github/workflows/code-coverage.yaml" | |
| - "src/**" | |
| - "rust-toolchain.toml" | |
| - "Cargo.toml" | |
| - "Cargo.lock" | |
| - "Trunk.toml" | |
| jobs: | |
| generate-coverage: | |
| name: Generate Code Coverage | |
| runs-on: self-hosted | |
| env: | |
| RUSTC_WRAPPER: "/home/nicholas/.cargo/bin/sccache" | |
| CARGO_INCREMENTAL: 0 | |
| steps: | |
| - name: Skip Duplicate Actions | |
| id: skip_check | |
| uses: fkirc/skip-duplicate-actions@v5 | |
| - if: steps.skip_check.outputs.should_skip != 'true' | |
| name: Checkout | |
| uses: actions/[email protected] | |
| - if: steps.skip_check.outputs.should_skip != 'true' | |
| name: Code Coverage | |
| run: cargo tarpaulin --bin john-de-silencio --out lcov --output-dir coverage/ | |
| - if: steps.skip_check.outputs.should_skip != 'true' | |
| name: Upload coverage reports to Codecov | |
| run: codecov upload-process --fail-on-error --disable-search -n 'code-coverage'-${{ github.run_id }} -t ${{ secrets.CODECOV_TOKEN }} -f coverage/lcov.info |