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
2 changes: 1 addition & 1 deletion .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ branches:
required_pull_request_reviews: null
required_status_checks:
strict: false
contexts: ['Build & Test (Windows)', 'Build, Test & Pack (Linux)']
contexts: ['Build, Test & Pack (Linux)']
enforce_admins: false
required_linear_history: false
restrictions: null
20 changes: 5 additions & 15 deletions .github/workflows/ci.yml → .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI Linux

on:
push:
Expand All @@ -12,16 +12,6 @@ on:
workflow_dispatch:

jobs:
build-windows:
name: Build & Test (Windows)
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run tests
run: dotnet test -c Release --filter FullyQualifiedName\!~Tests.Integration -p:CollectCoverage=false

build-linux:
name: Build, Test & Pack (Linux)
runs-on: ubuntu-24.04
Expand All @@ -42,7 +32,7 @@ jobs:
run: dotnet build -c Release -p:ContinuousIntegrationBuild=true

- name: Run tests
run: dotnet test --no-build -c Release --filter FullyQualifiedName\!~Tests.Integration -p:CollectCoverage=true -e:CoverletOutputFormat=opencover
run: dotnet test --no-build -c Release -p:CollectCoverage=true -e:CoverletOutputFormat=opencover

- name: Publish to Codecov
uses: codecov/codecov-action@v5
Expand Down Expand Up @@ -76,7 +66,7 @@ jobs:

github:
name: Deploy to GitHub
needs: [build-windows, build-linux]
needs: [build-linux]
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-24.04
steps:
Expand All @@ -85,11 +75,11 @@ jobs:
with:
name: nupkgs
- name: Push to pkg.github.com
run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }}
run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }} --skip-duplicate

nuget:
name: Deploy to NuGet
needs: [build-windows, build-linux]
needs: [build-linux]
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-24.04
steps:
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI Windows

on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
workflow_dispatch:

jobs:
build-windows:
name: Build & Test (Windows)
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run tests
run: dotnet test -c Release -p:CollectCoverage=false
Loading