Skip to content

Version 2.1.0

Version 2.1.0 #65

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", 3.11]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
# - name: Lint with flake8
# run: flake8 roocs_utils tests
# if: matrix.python-version == 3.6
# - name: Check formatting with black
# run: black --check --target-version py36 roocs_utils tests
# if: matrix.python-version == 3.6
- name: Test with pytest
run: |
poetry run pytest
# - name: Upload coverage reports to Codecov
# uses: codecov/[email protected]
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# slug: cedadev/nappy