Compare commits

...
Sign in to create a new pull request.

18 commits

2 changed files with 29 additions and 2 deletions
.forgejo/workflows
Dockerfile

View file

@ -0,0 +1,29 @@
name: Pipeline main branch
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
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

View file

@ -1,7 +1,5 @@
FROM python:3.12
MAINTAINER continuist
WORKDIR /app
COPY requirements.txt requirements.txt