Merge new develop stuff into master #2

Merged
ravenscroftj merged 3 commits from develop into master 2022-10-22 15:13:54 +01:00
1 changed files with 23 additions and 3 deletions
Showing only changes of commit a0beef32b3 - Show all commits

View File

@ -1,10 +1,30 @@
kind: pipeline
name: test
type: docker
name: test and build
steps:
- name: test & build
- name: test
image: python:3.7
commands:
- pip install poetry
- poetry install
- poetry run pytest
- name: publish
when:
branch:
- master
image: python3.7
environment:
GITEA_PACKAGE_REPO:
from_secret: gitea_package_repo
GITEA_OWNER:
from_secret: gitea_owner
GITEA_TOKEN:
from_secret: gitea_token
commands:
- pip install poetry twine
- poetry build
- echo "[distutils]\nindex-servers = gitea\n\n[gitea]\nrepository = ${GITEA_PACKAGE_REPO}\nusername = ${GITEA_OWNER}\npassword = ${GITEA_TOKEN}"