Skip to content

ENH update experiments for working paper #36

ENH update experiments for working paper

ENH update experiments for working paper #36

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
architecture: x64
- name: Install linters
run: |
BLACK=$(python recgame/_min_dependencies.py black)
pip install pytest mypy==0.782 black==$BLACK
- name: Run black
run: |
black --check --diff .
# - name: Run mypy
# run: |
# mypy --ignore-missing-imports --no-strict-optional mlresearch/
build:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: [3.8, 3.9, "3.10"]
name: ${{ matrix.os }} Python ${{ matrix.python }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Install
run: |
pip install .[all]
- name: Test library
run: |
make test
- name: Test Docs
run: |
cd docs
make html
- name: Upload coverage to codecov
uses: codecov/codecov-action@v2
with:
files: ./coverage.xml
fail_ci_if_error: false
verbose: true