Skip to content

Commit 131c17c

Browse files
authored
Merge pull request #5 from fable-compiler/feature/ci
test: remove . used to report an issue on Ionide
2 parents 0e67f1a + d1e2e26 commit 131c17c

File tree

4 files changed

+33
-0
lines changed

4 files changed

+33
-0
lines changed

.github/workflows/test.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
name: Run tests suite
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
# We need the full history for gitCreated/gitLastUpdated to works as expected
18+
fetch-depth: 0
19+
20+
- name: Setup .NET
21+
uses: actions/setup-dotnet@v1
22+
23+
- name: Tests
24+
run: ./build.sh test

build/Commands/Test.fs

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ type TestCommand() =
2222
interface ICommandLimiter<TestSettings>
2323

2424
override __.Execute(context, settings) =
25+
printfn "CWD: %s" (Environment.CurrentDirectory)
26+
2527
Command.Run(
2628
"dotnet",
2729
CmdLine.empty

build/EasyBuild.fsproj

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<OutputType>Exe</OutputType>
44
<TargetFramework>net8.0</TargetFramework>
55
<ManagePackageVersionsCentrally>False</ManagePackageVersionsCentrally>
6+
<ContinuousIntegrationBuild>false</ContinuousIntegrationBuild>
67
</PropertyGroup>
78
<ItemGroup>
89
<Compile Include="Workspace.fs" />

global.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"sdk": {
3+
"version": "8.0.204",
4+
"rollForward": "latestMinor"
5+
}
6+
}

0 commit comments

Comments
 (0)