Skip to content

[pre-commit.ci] pre-commit autoupdate #162

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #162

Workflow file for this run

name: Python application
on:
push:
branches: [master, develop]
pull_request:
branches: [master, develop]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade ".[test]"
pre-commit install
- name: Run pre-commit
run: pre-commit run -a
- name: Test with pytest
run: pytest --cov=inter
- name: Upload coverage data to coveralls.io
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}