Server config #1014
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: coverage | |
on: | |
pull_request: | |
merge_group: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
name: coverage | |
runs-on: ubuntu-latest | |
container: | |
image: xd009642/tarpaulin:develop-nightly | |
options: --security-opt seccomp=unconfined | |
steps: | |
- name: Install mkcert | |
run: curl -JLO "https://dl.filippo.io/mkcert/latest?for=linux/amd64" && chmod +x mkcert-v*-linux-amd64 && cp mkcert-v*-linux-amd64 /usr/local/bin/mkcert | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: generate a cert for tls testing | |
run: mkcert -install && mkcert localhost | |
- name: get-cmake | |
uses: lukka/[email protected] | |
- name: Rust Cache | |
uses: Swatinem/[email protected] | |
- name: Generate code coverage | |
run: cargo +nightly tarpaulin | |
- name: Upload to codecov.io | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{secrets.CODECOV_TOKEN}} | |
fail_ci_if_error: false |