forked from neo-project/neo-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from neo-project/master
- Loading branch information
Showing
107 changed files
with
9,914 additions
and
351 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,31 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to detail an error or unexpected behavior | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Open the project, run '...' | ||
2. Type '...' or do '...' | ||
3. ... | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Platform:** | ||
- OS: [e.g. Windows 10 x64] | ||
- Version [e.g. neo-cli 2.10.2] | ||
|
||
**(Optional) Additional context** | ||
Add any other context about the problem here. | ||
|
||
However, if your issue does not fit these aforementioned criteria, or it can be understood in another manner, feel free to open it in a different format. |
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,27 @@ | ||
--- | ||
name: Feature or enhancement request | ||
about: Suggest an idea for Neo | ||
title: '' | ||
labels: discussion | ||
assignees: '' | ||
--- | ||
|
||
**Summary or problem description** | ||
A summary of the problem you want to solve or metric you want to improve | ||
|
||
**Do you have any solution you want to propose?** | ||
A clear and concise description of what you expect with this change. | ||
|
||
**Where in the software does this update applies to?** | ||
- Compiler | ||
- Consensus | ||
- CLI | ||
- Plugins | ||
- Ledger | ||
- Network Policy | ||
- P2P (TCP) | ||
- RPC (HTTP) | ||
- SDK | ||
- VM | ||
- Other: | ||
|
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,9 @@ | ||
--- | ||
name: Questions | ||
about: Questions about Neo Platform | ||
title: '' | ||
labels: question | ||
assignees: '' | ||
--- | ||
|
||
**Delete this: We would like to use GitHub for bug reports and feature requests only however if you are unable to get support from our team in: our [Discord](https://discord.io/neo) server or in our [offical documentation](https://docs.neo.org/docs/en-us/index.html), feel encouraged to create an issue here on GitHub.** |
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,35 @@ | ||
name: .NET Core Test and Publish | ||
|
||
on: | ||
push: | ||
branches: master | ||
pull_request: | ||
|
||
env: | ||
DOTNET_VERSION: 3.1.100 | ||
|
||
jobs: | ||
|
||
Test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: ${{ env.DOTNET_VERSION }} | ||
- name: Check format | ||
run: | | ||
dotnet tool install --version 3.2.111002 --tool-path ./ dotnet-format --add-source https://dotnet.myget.org/F/format/api/v3/index.json | ||
./dotnet-format --check --dry-run -v diagnostic | ||
- name: Test | ||
run: | | ||
sudo apt-get --assume-yes install libleveldb-dev libsnappy-dev libc6-dev | ||
find tests -name *.csproj | xargs -I % dotnet add % package coverlet.msbuild | ||
dotnet test tests/Neo.Network.RPC.Tests /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage/ | ||
dotnet test tests/Neo.Plugins.Storage.Tests /p:CollectCoverage=true /p:CoverletOutput=${GITHUB_WORKSPACE}/coverage/lcov /p:MergeWith=${GITHUB_WORKSPACE}/coverage/coverage.json /p:CoverletOutputFormat=lcov | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
Oops, something went wrong.