Skip to content

Commit

Permalink
Fixing numerai#32,numerai#33, and possibly numerai#40
Browse files Browse the repository at this point in the history
  • Loading branch information
csp197 committed Jun 15, 2020
1 parent 4db84cd commit d7a7138
Show file tree
Hide file tree
Showing 31 changed files with 904 additions and 564 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/makefile_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This is a modification of the basic workflow to help you get started with Actions

name: makefile_test

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:

strategy:
max-parallel: 4
matrix:
platform: [ubuntu-latest, macos-latest]
python-version: [3.6, 3.7]
# The type of runner that the job will run on
runs-on: ${{ matrix.platform }}

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
# Version range or exact version of a Python version to use, using SemVer's version range syntax.
python-version: ${{ matrix.python-version }}

# Installs numpy, pandas, numerapi, etc.
- name: Install Dependencies
run: |
python setup.py install
# Remove all temp files
- name: Clean
run: make clean

# Run tests
- name: Run tests
run: make test

6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ dist
cover
*.coverage
*.lprof

*.vscode/
*.*/
*_*/

venv/*
Binary file added .noseids
Binary file not shown.
6 changes: 6 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ test:
flake8:
flake8 .

format:
yapf --recursive -p -i numerox tests

check-format:
yapf --recursive -p --diff numerox tests

sdist: clean
${PYTHON} setup.py sdist
git status
Expand Down

0 comments on commit d7a7138

Please sign in to comment.