Skip to content

Commit

Permalink
add test coverage script
Browse files Browse the repository at this point in the history
  • Loading branch information
sebsto committed Nov 6, 2024
1 parent e622640 commit be73e2c
Show file tree
Hide file tree
Showing 5 changed files with 4,149 additions and 5 deletions.
16 changes: 13 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
format:
swift format --recursive -i Sources/*
swift format --recursive -i Tests/*

build:
swift build
test:
Expand All @@ -9,3 +7,15 @@ clean:
rm -rf .build

all: clean format build test

format:
swift format --recursive -i Sources/*
swift format --recursive -i Tests/*

test-coverage:
swift test --enable-code-coverage
./scripts/ProcessCoverage.swift \
`swift test --show-codecov-path` \
Tests/coverage.json \
Tests/coverage.html \
Tests/coverage.svg
Loading

0 comments on commit be73e2c

Please sign in to comment.