32 lines
540 B
YAML
32 lines
540 B
YAML
|
---
|
||
|
resources:
|
||
|
- name: git-repo
|
||
|
type: git
|
||
|
source:
|
||
|
uri: https://codeberg.org/lomion/tmdb-bot
|
||
|
branch: develop
|
||
|
|
||
|
- name: python-image
|
||
|
type: registry-image
|
||
|
icon: docker
|
||
|
source:
|
||
|
repository: python
|
||
|
tag: 3
|
||
|
|
||
|
jobs:
|
||
|
- name: unittests
|
||
|
public: true
|
||
|
plan:
|
||
|
- get: git-repo
|
||
|
trigger: true
|
||
|
- get: python-image
|
||
|
- task: run_tests
|
||
|
image: python-image
|
||
|
config:
|
||
|
platform: linux
|
||
|
inputs:
|
||
|
- name: git-repo
|
||
|
run:
|
||
|
dir: git-repo
|
||
|
path: ./runtests.sh
|