Skip to content

Merge pull request #33 from sascha-kirch/25-pypi-status-in-readme-not… #51

Merge pull request #33 from sascha-kirch/25-pypi-status-in-readme-not…

Merge pull request #33 from sascha-kirch/25-pypi-status-in-readme-not… #51

Workflow file for this run

name: ci-test
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- 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.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- 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.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- 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