mirror of
https://github.com/tonytins/tomas.git
synced 2025-03-15 04:11:24 +00:00
Removed nonexisting flag in workflow
- Moved shell instance as a global field
This commit is contained in:
parent
c10e753c39
commit
5888771e20
3 changed files with 4 additions and 4 deletions
6
.github/workflows/dotnet.yml
vendored
6
.github/workflows/dotnet.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: dotnet restore src/Tomas.Terminal
|
||||
- name: Build
|
||||
run: dotnet build src/Tomas.Terminal -c Release --no-restore
|
||||
run: dotnet build src/Tomas.Terminal -c Release --no-restore --nologo
|
||||
|
||||
test:
|
||||
timeout-minutes: 15
|
||||
|
@ -44,6 +44,6 @@ jobs:
|
|||
with:
|
||||
dotnet-version: ${{ matrix.dotnet }}
|
||||
- name: Install test dependencies
|
||||
run: dotnet restore src/Tomas.Tests
|
||||
run: dotnet restore src/Tomas.Tests
|
||||
- name: Test
|
||||
run: dotnet test src --no-restore --debug
|
||||
run: dotnet test src --no-restore --nologo
|
|
@ -16,7 +16,7 @@ public class ShellTests
|
|||
[Fact]
|
||||
public void ProgramTest()
|
||||
{
|
||||
// Create a mock program
|
||||
// Create a mock program instance
|
||||
var program = new MockProgram();
|
||||
|
||||
// Assert that the Run method of the program and returns true when passed the shell object.
|
||||
|
|
Loading…
Add table
Reference in a new issue