Skip to content

Start to get unit tests back: utils #30

Start to get unit tests back: utils

Start to get unit tests back: utils #30

name: POSYDON Continuous Integration
on:
pull_request:
branches: [main, development]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
python-version: ['3.11'] # can add more if we want to support
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install POSYDON without extras
run: |
python -m pip install --upgrade pip
pip install .
- name: Run all tests
run: |
pytest posydon/unit_tests/ --cov=posydon.utils --cov-branch --cov-report term-missing