Skip to content

Commit d9198a6

Browse files
committed
chore: Migrate from CircleCI to GitHub Actions
1 parent fec9b2c commit d9198a6

File tree

3 files changed

+47
-79
lines changed

3 files changed

+47
-79
lines changed

.circleci/config.yml

Lines changed: 0 additions & 78 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Quality control
2+
3+
on:
4+
push:
5+
branches: [ main, 'feat/**' ]
6+
paths-ignore:
7+
- '**.md' # Do not need to run CI for markdown changes.
8+
pull_request:
9+
branches: [ main, 'feat/**' ]
10+
paths-ignore:
11+
- '**.md'
12+
13+
jobs:
14+
linux:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Setup dotnet build tools
21+
uses: actions/setup-dotnet@v4
22+
with:
23+
dotnet-version: 6.0
24+
25+
- run: dotnet restore
26+
- run: dotnet build src/LaunchDarkly.TestHelpers -f netstandard2.0
27+
- run: dotnet test test/LaunchDarkly.TestHelpers.Tests -f net6.0
28+
29+
windows:
30+
runs-on: windows-latest
31+
32+
defaults:
33+
run:
34+
shell: powershell
35+
36+
steps:
37+
- uses: actions/checkout@v4
38+
39+
- name: Setup dotnet build tools
40+
uses: actions/setup-dotnet@v4
41+
with:
42+
dotnet-version: 6.0
43+
44+
- run: dotnet restore
45+
- run: dotnet build src/LaunchDarkly.TestHelpers -f net462
46+
- run: dotnet test test/LaunchDarkly.TestHelpers.Tests -f net462

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# LaunchDarkly .NET Test Helpers
22

33
[![NuGet](https://img.shields.io/nuget/v/LaunchDarkly.TestHelpers.svg?style=flat-square)](https://www.nuget.org/packages/LaunchDarkly.TestHelpers/)
4-
[![CircleCI](https://circleci.com/gh/launchdarkly/dotnet-test-helpers.svg?style=shield)](https://circleci.com/gh/launchdarkly/dotnet-test-helpers)
4+
[![Quality control](https://github.com/launchdarkly/dotnet-test-helpers/actions/workflows/ci.yml/badge.svg)](https://github.com/launchdarkly/dotnet-test-helpers/actions/workflows/ci.yml)
55
[![Documentation](https://img.shields.io/static/v1?label=GitHub+Pages&message=API+reference&color=00add8)](https://launchdarkly.github.io/dotnet-test-helpers)
66

77
This project centralizes some test support code that is used by LaunchDarkly's .NET and Xamarin SDKs and related components, and that may be useful in other .NET projects.

0 commit comments

Comments
 (0)