diff --git a/.gitea/workflows/default.yaml b/.gitea/workflows/default.yaml new file mode 100644 index 0000000..827e8c9 --- /dev/null +++ b/.gitea/workflows/default.yaml @@ -0,0 +1,26 @@ +name: pipeline +run-name: ${{ gitea.actor }} is running the script +runs-on: ubuntu-latest +on: push +image: python:3.12 +jobs: + test: + name: Test + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v3 + - name: Setup Environment + uses: https://github.com/actions/setup-python@v3 + with: + python-verison: "3.12" + architecture: "x64" + - name: Install Packages + run: | + python -m pip install --upgrade pip + pip install poetry + poetry install + - name: PEP8 Check + run: flake8 ./src --benchmark + - name: Type Check + run: mypy ./src \ No newline at end of file