Possible to trace usage of overload #961
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
name: Fable | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
testfable3: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Restore | |
run: git submodule update --init --recursive | |
- name: Remove global json | |
run: rm global.json | |
- name: Setup .NET Core 7 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 7.0.200 | |
- name: Setup .NET Core 6 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.201 | |
- name: Restore tools | |
run: dotnet tool restore | |
- name: Install fable | |
run: dotnet tool install --global Fable --version 3.7.20 | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '12.x' | |
- name: Install npm dependencies | |
working-directory: tests/FSharpPlusFable.Tests | |
run: npm install | |
- name: Run Fable tests | |
working-directory: tests/FSharpPlusFable.Tests | |
run: fable . --outDir bin --runScript ./bin | |
testfable4: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Restore | |
run: git submodule update --init --recursive | |
- name: Remove global json | |
run: rm global.json | |
- name: Setup .NET Core 7 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 7.0.200 | |
- name: Setup .NET Core 6 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.201 | |
- name: Restore tools | |
run: dotnet tool restore | |
- name: Install jq | |
uses: dcarbone/install-jq-action@v1.0.1 | |
- name: Install fable | |
run: | | |
version=`cat ./.config/dotnet-tools.json | jq --raw-output '.tools.fable.version'` | |
dotnet tool install --global Fable --version $version | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '18.x' | |
- name: Install npm dependencies | |
working-directory: tests/FSharpPlusFable.Tests | |
run: npm install | |
- name: Run Fable tests | |
working-directory: tests/FSharpPlusFable.Tests | |
run: fable . --outDir bin --runScript ./bin | |
testFable3SubsetOnCore: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Restore | |
run: git submodule update --init --recursive | |
- name: Remove global json | |
run: rm global.json | |
- name: Remove global json in subfolder | |
run: rm global.json | |
working-directory: tests/FSharpPlusFable.Tests | |
- name: Setup .NET Core 7 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 7.0.200 | |
- name: Setup .NET Core 6 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.201 | |
- name: Restore tools | |
run: dotnet tool restore | |
# - name: Run tests (Fable2 subset but on .net) | |
# working-directory: tests/FSharpPlusFable.Tests | |
# run: dotnet run -c Fable | |
- name: Run tests (Fable3 subset but on .net) | |
working-directory: tests/FSharpPlusFable.Tests | |
run: dotnet run -c Fable3 | |
- name: Run tests (Full subset for of tests .net) | |
working-directory: tests/FSharpPlusFable.Tests | |
run: dotnet run -c Release |