add select2 用于导出最后时刻指定证券的所有指定指标值; Fixed CORR 初值错误 #57
Workflow file for this run
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: macosx-build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-14] | |
arch: [arm64, x86_64] | |
kind: [static] | |
runs-on: ${{ matrix.os }} | |
concurrency: | |
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-macOS-${{ matrix.arch }}-${{ matrix.kind }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache packages | |
id: cache-xmake-macosx | |
uses: actions/cache@v4 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: ~/.xmake | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- uses: xmake-io/github-action-setup-xmake@v1 | |
with: | |
xmake-version: 2.9.4 | |
actions-cache-folder: '.xmake-cache' | |
actions-cache-key: 'macosx-arm64' | |
- name: config | |
run: | | |
xmake f -c -k ${{ matrix.kind }} -y -vD --feedback=n | |
- name: build python | |
run: | | |
xmake -b core | |
- name: test python | |
run: | | |
export PYTHONPATH=. | |
pip install -r requirements.txt | |
python hikyuu/test/test.py | |
- name: build test | |
run: | | |
xmake -b small-test | |
- name: test | |
run: | | |
xmake r small-test |