mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-07 21:47:43 +00:00
test_python
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
name: Stage/build/test/release/publish
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
build_test:
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
pytz>=2022
|
||||
six>=1
|
||||
python-dateutil>=2
|
||||
numpy>=1.24
|
||||
pandas>=1.5
|
||||
pandas-ta>=0.3
|
||||
@@ -22,31 +22,21 @@ jobs:
|
||||
with:
|
||||
dotnet-version: |
|
||||
7.0.x
|
||||
5.0.x
|
||||
include-prerelease: true
|
||||
|
||||
- name: Install Python
|
||||
- uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.11'
|
||||
check-latest: true
|
||||
python-version: '3.10'
|
||||
check-latest: false
|
||||
cache: 'pip'
|
||||
cache-dependency-path: '**/requirements.txt'
|
||||
- run: pip install -r worklflows/requirements.txt
|
||||
cache-dependency-path: '\a\QuanTAlib\QuanTAlib\Tests\requirements.txt'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -r '\a\QuanTAlib\QuanTAlib\Tests\requirements.txt'
|
||||
|
||||
- name: path
|
||||
run: '$env:path -split ";"'
|
||||
|
||||
- name: Install JDK11 for Sonar Scanner
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.11
|
||||
|
||||
- name: Install GitVersion
|
||||
run: dotnet tool install GitVersion.Tool --global
|
||||
- name: Install JetBrains
|
||||
run: dotnet tool install JetBrains.dotCover.GlobalTool --global
|
||||
- name: Install Sonar Scanner
|
||||
run: dotnet tool install dotnet-sonarscanner --global
|
||||
- name: Install dotnet-coverage
|
||||
run: dotnet tool install dotnet-coverage --global
|
||||
- name: Install CodeCov
|
||||
run: dotnet tool install --global Codecov.Tool
|
||||
|
||||
|
||||
Reference in New Issue
Block a user