Skip to content

Commit

Permalink
GitHub workflow changes to avoid testing if "MT5_LOGIN" env variable …
Browse files Browse the repository at this point in the history
…wasn't specified.
  • Loading branch information
nseam committed Sep 9, 2024
1 parent fb06375 commit 183287b
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-exchange-account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Exchange/Account

env:
TEST_PATH: Exchange/Account/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-exchange-symbolinfo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Exchange/SymbolInfo

env:
TEST_PATH: Exchange/SymbolInfo/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-exchange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Exchange

env:
TEST_PATH: Exchange/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-indicator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Indicator

env:
TEST_PATH: Indicator/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-indicators-bitwise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Indicators (Bitwise)

env:
TEST_PATH: Indicators/Bitwise/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-indicators-ohlc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Indicators (OHLC)

env:
TEST_PATH: Indicators/OHLC/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-indicators-oscillator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Indicators (Oscillator)

env:
TEST_PATH: Indicators/Oscillator/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-indicators-price.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Indicators (Price)

env:
TEST_PATH: Indicators/Price/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-indicators-pricemulti.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Indicators (PriceMulti)

env:
TEST_PATH: Indicators/PriceMulti/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-indicators-pricerange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Indicators (PriceRange)

env:
TEST_PATH: Indicators/PriceRange/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-indicators-special.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Indicators (Special)

env:
TEST_PATH: Indicators/Special/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-indicators-tick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Indicators (Tick)

env:
TEST_PATH: Indicators/Tick/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-indicators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Indicators

env:
TEST_PATH: Indicators/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-math.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Math

env:
TEST_PATH: Math/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-platform-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Platform/Chart

env:
TEST_PATH: Platform/Chart/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-platform-chart3d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Platform/Chart3D

env:
TEST_PATH: Platform/Chart3D/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-platform-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Platform/Web

env:
TEST_PATH: Platform/Web/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Platform

env:
TEST_PATH: Platform/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-serializer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Serializer

env:
TEST_PATH: Serializer/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-storage-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Storage/Cache

env:
TEST_PATH: Storage/Cache/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-storage-dict-buffer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Storage/Dict/Buffer

env:
TEST_PATH: Storage/Dict/Buffer/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-storage-dict.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Storage/Dict

env:
TEST_PATH: Storage/Dict/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Storage

env:
TEST_PATH: Storage/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Task

env:
TEST_PATH: Task/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-trade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Trade

env:
TEST_PATH: Trade/tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test

env:
TEST_PATH: tests
TEST_SKIP: ${{ secrets.MT5_LOGIN || false }}
TEST_SKIP: ${{ secrets.MT5_LOGIN == '' }}

# yamllint disable-line rule:truthy
on:
Expand Down

0 comments on commit 183287b

Please sign in to comment.