Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ jobs:
env:
DOTNET_NOLOGO: true

permissions:
actions: write
pull-requests: write

steps:
- uses: actions/checkout@v7
with:
Expand All @@ -34,12 +38,9 @@ jobs:
with:
files: "TestResults/reports/lcov.info"

- name: coveralls
uses: coverallsapp/github-action@v2
- name: Report code coverage
uses: k1LoW/octocov-action@v1
if: steps.check_files.outputs.files_exists == 'true'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: TestResults/reports/lcov.info

- name: Upload artifacts
uses: actions/upload-artifact@v7
Expand Down
17 changes: 17 additions & 0 deletions .octocov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Configuration for octocov (https://github.com/k1LoW/octocov), which reports code coverage without an external service.
# The coverage report of the default branch is stored as a GitHub Actions artifact, so that pull requests can show the difference.
coverage:
paths:
- TestResults/reports/lcov.info
comment:
if: is_pull_request
deletePrevious: true
summary:
if: true
report:
if: is_default_branch
datastores:
- artifact://${GITHUB_REPOSITORY}
diff:
datastores:
- artifact://${GITHUB_REPOSITORY}
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Please do:
* Follow the style presented in the [Coding Guidelines for C#](https://csharpcodingguidelines.com/).
* Align with the Fluent Assertions [Design Principles](https://github.com/fluentassertions/fluentassertions/issues/1340)
* Ensure that changes are covered by a new or existing set of unit tests which follow the Arrange-Act-Assert syntax such as is used [in this example](https://github.com/fluentassertions/fluentassertions/blob/daaf35b9b59b622c96d0c034e8972a020b2bee55/Tests/FluentAssertions.Shared.Specs/BasicEquivalencySpecs.cs#L33).
* Also the code coverage reported by the coveralls must be non-decreasing unless accepted by the authors.
* Also the code coverage reported by octocov must be non-decreasing unless accepted by the authors.
* If the contribution adds a feature or fixes a bug, please update the [**release notes**](https://github.com/fluentassertions/fluentassertions/blob/develop/docs/_pages/releases.md), which is published on the [website](https://fluentassertions.com/releases).
* If the contribution changes the public API, the changes needs to be included by running [`AcceptApiChanges.ps1`](https://github.com/fluentassertions/fluentassertions/tree/develop/AcceptApiChanges.ps1)/[`AcceptApiChanges.sh`](https://github.com/fluentassertions/fluentassertions/tree/develop/AcceptApiChanges.sh) or using Rider's [Verify Support](https://plugins.jetbrains.com/plugin/17240-verify-support) plug-in.

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# FluentAssertions for DataSets

[![](https://img.shields.io/github/actions/workflow/status/fluentassertions/fluentassertions.datasets/build.yml?branch=main)](https://github.com/fluentassertions/fluentassertions.datasets/actions?query=branch%3Amain)
[![Coveralls branch](https://img.shields.io/coverallsCoverage/github/fluentassertions/fluentassertions.datasets?branch=develop)](https://coveralls.io/github/fluentassertions/fluentassertions.datasets?branch=develop)
[![](https://img.shields.io/github/release/FluentAssertions.Datasets/FluentAssertions.Datasets.svg?label=latest%20release&color=007edf)](https://github.com/FluentAssertions/FluentAssertions.DataSets/releases/latest)
[![](https://img.shields.io/nuget/dt/FluentAssertions.DataSets.svg?label=downloads&color=007edf&logo=nuget)](https://www.nuget.org/packages/FluentAssertions.DataSets)
[![](https://img.shields.io/librariesio/dependents/nuget/FluentAssertions.DataSets.svg?label=dependent%20libraries)](https://libraries.io/nuget/FluentAssertions.DataSets)
Expand Down
Loading