Skip to content

CO2 Data Collection of the Mauna Loa Observatory #17

CO2 Data Collection of the Mauna Loa Observatory

CO2 Data Collection of the Mauna Loa Observatory #17

Workflow file for this run

name: Pylint and Pytest
on:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with pylint
if: always()
run: |
pylint $(git ls-files '*.py')
- name: Test with pytest
if: always()
run: |
pytest -v $(git ls-files 'test_*.py')