-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tasks.yaml
41 lines (41 loc) · 1.02 KB
/
.tasks.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
$schema: /home/omer/devel/taskrunner/schemas/taskrunner_v0.11.json
tasks:
test:
short_desc: Run test
commands:
- tests/runtests {{cliArgs}}
cwd: '{{taskRoot}}'
build:
short_desc: Build package
commands:
- rm -rf dist
- python3 -m build
cwd: '{{taskRoot}}'
upload-testpypi:
short_desc: Build package to testpypi
commands:
- python3 -m twine upload --repository testpypi dist/*
cwd: '{{taskRoot}}'
upload-pypi:
short_desc: Build package to pypi
commands:
- python3 -m twine upload dist/*
cwd: '{{taskRoot}}'
test_pkg_base:
short_desc: Basic package test
commands:
- '{{taskRoot}}/tests/run_pkg_tests'
abstract: true
test_pkg_testpypi:
short_desc: Basic package test from testpypi
base: test_pkg_base
env:
TEST_PYPI: "1"
test_pkg_pypi:
short_desc: Basic package test from pypi
base: test_pkg_base
env:
TEST_PYPI: "0"
default_task: test
default_container_tool: /usr/bin/podman
use_default_include: false