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