-
Notifications
You must be signed in to change notification settings - Fork 10
31 lines (29 loc) · 1.13 KB
/
dotnet-large-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Run Large Tests
on:
workflow_dispatch:
schedule:
- cron: '0 23 * * 1-5'
jobs:
run-large-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: |
export GOOGLE_APPLICATION_CREDENTIALS=$PWD/googlecreds.json
echo $GOOGLE_APPLICATION_CREDENTIALS_FILE > $GOOGLE_APPLICATION_CREDENTIALS
dotnet test --no-restore --verbosity normal --filter TestCategory=Large
continue-on-error: true
env:
ALPACA_APP_ID: ${{ secrets.ALPACA_APP_ID }}
ALPACA_SECRET_KEY: ${{ secrets.ALPACA_SECRET_KEY }}
STOCK_LIST: "GE, XPEV, F, PLTR, BAC, NOK, ACB, PFE, FSR, VALE, BABA, WFC, XOM, T, PBR, ABEV, M, NCLH, PCG, MRO, AMC, DIS, DAL, FCX, BA, ET, BSX, C, SNAP, OXY, VRT, AUY, VIPS, SWN, UBER, MGM, GM, VER, JWN, NLY, LU, KMI, AMWL, COTY, TME"
GOOGLE_APPLICATION_CREDENTIALS_FILE: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_FILE }}