Skip to content

Add tests with pytest and add github CI action. #3

Add tests with pytest and add github CI action.

Add tests with pytest and add github CI action. #3

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags: ['*']
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test]
- name: Test with pytest
run: |
pytest metoppy/tests --cov=metoppy --cov-report=xml