From 709aeb10551784a0d66a23bed67b1493e5cc54c4 Mon Sep 17 00:00:00 2001 From: Gerry Manoim Date: Tue, 28 Jul 2020 11:30:01 -0400 Subject: [PATCH 1/5] BLD: Try github actions again --- .github/workflows/ci.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000000..6db4999fa5 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,35 @@ +name: Zipline CI + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build-and-test: + + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest] + python-version: [3.5] + steps: + - uses: actions/checkout@v2 + with: + submodules: 'recursive' + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2.1.1 + with: + python-version: ${{ matrix.python-version }} + # TODO: set up pip cache + - name: Install requirements + run: | + python -m pip install -r etc/requirements_build.in -c etc/requirements_locked.txt + python -m pip install --no-binary=bcolz -e .[all] -r etc/requirements_blaze.in -c etc/requirements_locked.txt + - name: Run tests + run: | + nosetests tests From bfe1dcfdee0010c4cb9ef734ef9e3c50fe27a162 Mon Sep 17 00:00:00 2001 From: Gerry Manoim Date: Tue, 28 Jul 2020 11:32:06 -0400 Subject: [PATCH 2/5] bad indent --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6db4999fa5..0bc20b264b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,7 +17,7 @@ jobs: matrix: os: [ubuntu-latest] python-version: [3.5] - steps: + steps: - uses: actions/checkout@v2 with: submodules: 'recursive' From 4f0eb58e44a686ee96e4e6399076fc9e5ce5741f Mon Sep 17 00:00:00 2001 From: Gerry Manoim Date: Tue, 28 Jul 2020 12:01:25 -0400 Subject: [PATCH 3/5] try TA lib --- .github/workflows/ci.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0bc20b264b..678209aa3a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,6 +25,15 @@ jobs: uses: actions/setup-python@v2.1.1 with: python-version: ${{ matrix.python-version }} + - name: Install TA lib (ubuntu) + if: startsWith(matrix.os, 'ubuntu') + run: | + wget https://s3.amazonaws.com/quantopian-orchestration/packages/ta-lib-0.4.0-src.tar.gz + tar xvfz ta-lib-0.4.0-src.tar.gz + cd ta-lib + ./configure + make + sudo make install # TODO: set up pip cache - name: Install requirements run: | From 33a4b576b52a82f7c0bd1de6ecab14837a3dcf47 Mon Sep 17 00:00:00 2001 From: Gerry Manoim Date: Tue, 28 Jul 2020 12:19:36 -0400 Subject: [PATCH 4/5] try macos ta-lib as well --- .github/workflows/ci.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 678209aa3a..014478a688 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest] + os: [ubuntu-latest, macos-latest] python-version: [3.5] steps: - uses: actions/checkout@v2 @@ -34,6 +34,10 @@ jobs: ./configure make sudo make install + - name: Install TA lib (ubuntu) + if: startsWith(matrix.os, 'macos') + run: | + brew install ta-lib # TODO: set up pip cache - name: Install requirements run: | From e4113fd07cf36489fd9480d4530938634e359811 Mon Sep 17 00:00:00 2001 From: Gerry Manoim Date: Tue, 28 Jul 2020 12:34:39 -0400 Subject: [PATCH 5/5] try ldconfig --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 014478a688..dea9246647 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -34,7 +34,8 @@ jobs: ./configure make sudo make install - - name: Install TA lib (ubuntu) + ldconfig + - name: Install TA lib (macOS) if: startsWith(matrix.os, 'macos') run: | brew install ta-lib