Skip to content

Pull pysquared from proveskit/pysquared #4

Pull pysquared from proveskit/pysquared

Pull pysquared from proveskit/pysquared #4

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Lint
run: |
make fmt
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Disabling shallow clones is recommended for improving the relevancy of SonarQube reporting
fetch-depth: 0
- name: Test
run: |
TEST_SELECT=ALL make test
- name: Archive coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: .coverage-reports/coverage.xml
- name: SonarQube Scan
uses: SonarSource/[email protected]
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
archive:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
make build
- name: Archive
uses: actions/upload-artifact@v4
with:
name: proves
path: artifacts/proves.zip