Files
bandwidth_probing/.gitea/workflows/default.yaml
T
brb 907958484c
pipeline / Test (push) Successful in 39s
Docker / Test (push) Successful in 39s
Docker / Publish (push) Successful in 8s
removed unused step
2023-07-12 12:08:42 +02:00

28 lines
761 B
YAML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: pipeline
run-name: ${{ gitea.actor }} is running script
runs-on: ubuntu-latest
on:
push:
branches-ignore:
- "release"
image: python:3.10
jobs:
test:
name: Test
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 --benchmark --exit-zero
- name: Type check
run: mypy ./code