Skip to content

Commit a32dc4e

Browse files
Move from AppVeyor to GitHub Actions (#754)
* Remove AppVeyor * Move to github actions * Fetch everything * Update to the latest Ruby 3.2 * Use the latest 2.x * Revert "Use the latest 2.x" This reverts commit 9af8cbc. * Revert "Update to the latest Ruby 3.2" This reverts commit 09b9c32.
1 parent 9a3540c commit a32dc4e

File tree

4 files changed

+26
-28
lines changed

4 files changed

+26
-28
lines changed

.github/workflows/build_and_test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,28 @@ jobs:
2828

2929
- name: Test
3030
run: dotnet test -f ${{ matrix.framework }} --no-build --no-restore
31+
32+
test-documentation:
33+
runs-on: windows-latest
34+
steps:
35+
- name: Checkout
36+
uses: actions/checkout@v3
37+
with:
38+
fetch-depth: 0
39+
40+
- name: Setup .NET
41+
uses: actions/setup-dotnet@v3
42+
with:
43+
dotnet-version: |
44+
6.0.x
45+
7.0.x
46+
47+
# used for documentation
48+
- name: Setup Ruby
49+
uses: ruby/setup-ruby@v1
50+
with:
51+
ruby-version: '2.5'
52+
bundler-cache: true
53+
54+
- name: Build all targets
55+
run: build\build.cmd --target All

NSubstitute.sln

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ EndProject
2121
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{CA2DD4AA-8DCD-42FB-8081-243281AD2956}"
2222
ProjectSection(SolutionItems) = preProject
2323
.editorconfig = .editorconfig
24-
.travis.yml = .travis.yml
25-
appveyor.yml = appveyor.yml
2624
BreakingChanges.md = BreakingChanges.md
2725
CHANGELOG.md = CHANGELOG.md
2826
Directory.Build.props = Directory.Build.props

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
NSubstitute
22
========
3-
[![Build status](https://ci.appveyor.com/api/projects/status/ipe7ephhy6f9bbgp/branch/master?svg=true)](https://ci.appveyor.com/project/NSubstitute/nsubstitute/branch/master) [![Travis Build Status](https://travis-ci.com/nsubstitute/NSubstitute.svg?branch=master)](https://travis-ci.com/nsubstitute/NSubstitute)
3+
[![Build status](https://github.com/nsubstitute/NSubstitute/actions/workflows/build_and_test.yml/badge.svg)](https://github.com/nsubstitute/NSubstitute/actions/workflows/build_and_test.yml)
44
[![Nuget](https://img.shields.io/nuget/v/NSubstitute.svg)](https://www.nuget.org/packages/NSubstitute)
55

66
Visit the [NSubstitute website](https://nsubstitute.github.io) for more information.

appveyor.yml

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

0 commit comments

Comments
 (0)