mirror of
https://github.com/tonytins/tomas.git
synced 2025-03-21 15:21:21 +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
|
- name: Install dependencies
|
||||||
run: dotnet restore src/Tomas.Terminal
|
run: dotnet restore src/Tomas.Terminal
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build src/Tomas.Terminal -c Release --no-restore
|
run: dotnet build src/Tomas.Terminal -c Release --no-restore --nologo
|
||||||
|
|
||||||
test:
|
test:
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
|
@ -44,6 +44,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
dotnet-version: ${{ matrix.dotnet }}
|
dotnet-version: ${{ matrix.dotnet }}
|
||||||
- name: Install test dependencies
|
- name: Install test dependencies
|
||||||
run: dotnet restore src/Tomas.Tests
|
run: dotnet restore src/Tomas.Tests
|
||||||
- name: Test
|
- name: Test
|
||||||
run: dotnet test src --no-restore --debug
|
run: dotnet test src --no-restore --nologo
|
|
@ -16,7 +16,7 @@ public class ShellTests
|
||||||
[Fact]
|
[Fact]
|
||||||
public void ProgramTest()
|
public void ProgramTest()
|
||||||
{
|
{
|
||||||
// Create a mock program
|
// Create a mock program instance
|
||||||
var program = new MockProgram();
|
var program = new MockProgram();
|
||||||
|
|
||||||
// Assert that the Run method of the program and returns true when passed the shell object.
|
// Assert that the Run method of the program and returns true when passed the shell object.
|
||||||
|
|
Loading…
Add table
Reference in a new issue