Skip to content

chore: Migrate from CircleCI to GitHub Actions #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 31, 2025
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
78 changes: 0 additions & 78 deletions .circleci/config.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Quality control

on:
push:
branches: [ main, 'feat/**' ]
paths-ignore:
- '**.md' # Do not need to run CI for markdown changes.
pull_request:
branches: [ main, 'feat/**' ]
paths-ignore:
- '**.md'

jobs:
linux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup dotnet build tools
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0

- run: dotnet restore
- run: dotnet build src/LaunchDarkly.TestHelpers -f netstandard2.0
- run: dotnet test test/LaunchDarkly.TestHelpers.Tests -f net6.0

windows:
runs-on: windows-latest

defaults:
run:
shell: powershell

steps:
- uses: actions/checkout@v4

- name: Setup dotnet build tools
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0

- run: dotnet restore
- run: dotnet build src/LaunchDarkly.TestHelpers -f net462
- run: dotnet test test/LaunchDarkly.TestHelpers.Tests -f net462
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# LaunchDarkly .NET Test Helpers

[![NuGet](https://img.shields.io/nuget/v/LaunchDarkly.TestHelpers.svg?style=flat-square)](https://www.nuget.org/packages/LaunchDarkly.TestHelpers/)
[![CircleCI](https://circleci.com/gh/launchdarkly/dotnet-test-helpers.svg?style=shield)](https://circleci.com/gh/launchdarkly/dotnet-test-helpers)
[![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)
[![Documentation](https://img.shields.io/static/v1?label=GitHub+Pages&message=API+reference&color=00add8)](https://launchdarkly.github.io/dotnet-test-helpers)

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.
Expand Down