Skip to content

Pre-Flatten Comment Messages in the Parser Rules (#828) #89

Pre-Flatten Comment Messages in the Parser Rules (#828)

Pre-Flatten Comment Messages in the Parser Rules (#828) #89

Workflow file for this run

name: coverage
on:
push:
branches: ['main']
permissions:
contents: read
jobs:
coverage:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install cargo-llvm-cov
run: cargo install cargo-llvm-cov
- name: 🔨 Build
run: cargo build
- name: Generate HTML coverage
run: cargo llvm-cov --html
- name: Upload coverage
if: github.repository == 'icerpc/slicec'
run: |
aws s3 sync ./target/llvm-cov/html s3://${{ secrets.AWS_S3_CODE_BUCKET }}/slicec/${{ github.ref_name }}/coverage \
--delete --cache-control "no-cache, no-store"
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1