Skip to content

Commit

Permalink
Move from AppVeyor to GitHub Actions (#754)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
alexandrnikitin authored Nov 19, 2023
1 parent 9a3540c commit a32dc4e
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 28 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,28 @@ jobs:

- name: Test
run: dotnet test -f ${{ matrix.framework }} --no-build --no-restore

test-documentation:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
# used for documentation
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.5'
bundler-cache: true

- name: Build all targets
run: build\build.cmd --target All
2 changes: 0 additions & 2 deletions NSubstitute.sln
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{CA2DD4AA-8DCD-42FB-8081-243281AD2956}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.travis.yml = .travis.yml
appveyor.yml = appveyor.yml
BreakingChanges.md = BreakingChanges.md
CHANGELOG.md = CHANGELOG.md
Directory.Build.props = Directory.Build.props
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
NSubstitute
========
[![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)
[![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)
[![Nuget](https://img.shields.io/nuget/v/NSubstitute.svg)](https://www.nuget.org/packages/NSubstitute)

Visit the [NSubstitute website](https://nsubstitute.github.io) for more information.
Expand Down
25 changes: 0 additions & 25 deletions appveyor.yml

This file was deleted.

0 comments on commit a32dc4e

Please sign in to comment.