Skip to content

Merge branch 'main' into v3 #12

Merge branch 'main' into v3

Merge branch 'main' into v3 #12

name: Indicators
on:
push:
branches: ["main","v3"]
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
name: integration tests
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
checks: write
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Setup .NET
id: dotnet-new
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.x"
dotnet-quality: "ga"
- name: Build library
run: >
dotnet build
--configuration Release
--property:ContinuousIntegrationBuild=true
-warnAsError
- name: Test integrations
env:
ALPACA_KEY: ${{ secrets.ALPACA_KEY }}
ALPACA_SECRET: ${{ secrets.ALPACA_SECRET }}
run: >
dotnet test
--configuration Release
--settings tests/tests.integration.runsettings
--results-directory ./test-results
--no-build
--verbosity normal
--logger trx
- name: Post test summary
uses: dorny/test-reporter@v1
if: always()
with:
name: Test results
path: ./test-results/**/*.trx
reporter: dotnet-trx