This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Travis and use Github Actions (#487)
- Loading branch information
Showing
9 changed files
with
95 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
############################### | ||
# Core EditorConfig Options # | ||
############################### | ||
|
||
# dotnet-format requires version 3.1.37601 | ||
# dotnet tool update -g dotnet-format | ||
# remember to have: git config --global core.autocrlf false #(which is usually default) | ||
|
||
root = true | ||
|
||
# Every file | ||
|
||
[*] | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
charset = utf-8 | ||
end_of_line = lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: .NET Core Test | ||
|
||
on: pull_request | ||
|
||
env: | ||
DOTNET_VERSION: 3.0.100 | ||
|
||
jobs: | ||
|
||
Test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Chectout | ||
uses: actions/checkout@v1 | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: ${{ env.DOTNET_VERSION }} | ||
- name: Check format | ||
run: | | ||
dotnet tool install --tool-path ./ dotnet-format | ||
./dotnet-format --check --dry-run -v diagnostic | ||
- name: Build | ||
run: dotnet publish -o ./out -c Release | ||
- name: Install dependencies | ||
run: sudo apt-get install libleveldb-dev expect | ||
- name: Run tests with expect | ||
run: expect ./.github/workflows/test-neo-cli.expect | ||
- name: Run RPC tests | ||
run: ./.github/workflows/rpc-tests.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters