Skip to content

Update stefanzweifel/git-auto-commit-action action to v7 #378

Update stefanzweifel/git-auto-commit-action action to v7

Update stefanzweifel/git-auto-commit-action action to v7 #378

Workflow file for this run

name: tests
on: [push]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package (dev extras)
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
- name: Lint with flake8
run: |
flake8 jupyddl tests --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 jupyddl tests --count --statistics
- name: Test with pytest
run: |
pytest --cov=jupyddl --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
name: codecov-umbrella