Skip to content

Merge pull request #6 from hdakhli/recalcule_area #63

Merge pull request #6 from hdakhli/recalcule_area

Merge pull request #6 from hdakhli/recalcule_area #63

Workflow file for this run

name: Python package
on:
pull_request:
types: [opened, reopened, edited, synchronize, review_requested]
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: flake8 Lint
uses: py-actions/flake8@v2
- name: Test with pytest
run: |
pytest