Skip to content

Add pytests and CI. Update README to reflect new process. #1

Add pytests and CI. Update README to reflect new process.

Add pytests and CI. Update README to reflect new process. #1

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/CI.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/CI.yml

Invalid workflow file

(Line: 15, Col: 5): A sequence was not expected
on:
push:
branches:
- main
tags: ['*']
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
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