From 3a69eba37cd04d1d13a262127dde43fa20128c29 Mon Sep 17 00:00:00 2001 From: continuist Date: Sat, 29 Mar 2025 21:38:55 -0400 Subject: [PATCH] Add main.yml --- .forgejo/workflows/main.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .forgejo/workflows/main.yml diff --git a/.forgejo/workflows/main.yml b/.forgejo/workflows/main.yml new file mode 100644 index 0000000..5ad2d59 --- /dev/null +++ b/.forgejo/workflows/main.yml @@ -0,0 +1,29 @@ +name: Pipeline main branch + +on: + push: + branches: + - main + +jobs: + test: + runs-on: docker + + steps: + - name: Check out repository + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.12 + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install flake8 pytest + pip install -r requirements.txt + + - name: Run tests + run: | + pytest