Files
bandwidth_probing/.gitea/workflows/pipeline.yaml
T
2023-07-11 11:25:00 +02:00

27 lines
671 B
YAML

name: Python application
run-name: ${{ gitea.actor }} is building the application
on: [push]
image: python:3.10
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: https://github.com/actions/setup-python@v3
with:
python-version: "3.10"
architecture: "x64"
- name: Install Packages
run: |
python -m pip install --upgrade pip
pip install flake8 mypy pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: PEP8 check
run: |
flake8 ./code
- name: Type check
run: |
mypy ./code