Skip to content

Project structure update #9

Project structure update

Project structure update #9

Workflow file for this run

name: ci-test
on:
pull_request:
branches: [ main, develop ]
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r environment/requirements-dev.txt
pip install -e .
- name: Testing
run: |
python -m pytest tests
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r environment/requirements-dev.txt
pip install -e .
- name: Testing
run: |
python -m pytest --cov=DeepSaki tests
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r environment/requirements-dev.txt
pip install -e .
- name: Testing
run: |
python -m pytest tests