Skip to content

Commit 0ac1a5f

Browse files
authored
add tests for robotframeworklexer (#20)
1 parent d3036e1 commit 0ac1a5f

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

recipes/robotframeworklexer/meta.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,18 @@ package:
66
version: {{ version }}
77

88
source:
9-
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
10-
sha256: ddd3ea50b54b47aee86a83c400534a61e2588dec875a3c10f04822280e834b8f
9+
- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
10+
sha256: ddd3ea50b54b47aee86a83c400534a61e2588dec875a3c10f04822280e834b8f
11+
folder: dist
12+
- url: https://github.com/robotframework/pygmentslexer/archive/v{{ version }}.tar.gz
13+
sha256: 1ee4542b5d37e2de882fd9195a2548303ce395e327ce1d79de3b6df9ef8094b0
14+
folder: src
1115

1216
build:
1317
number: 0
14-
script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv
18+
script:
19+
- cd dist
20+
- {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv
1521

1622
requirements:
1723
host:
@@ -22,14 +28,18 @@ requirements:
2228
- pygments
2329

2430
test:
31+
source_files:
32+
- src/test
2533
imports:
2634
- robotframeworklexer
35+
commands:
36+
- cd src && cd test && python test_robotframeworklexer.py
2737

2838
about:
2939
home: https://github.com/robotframework/pygmentslexer
3040
license: Apache-2.0
3141
license_family: Apache
32-
license_file: LICENSE.txt
42+
license_file: dist/LICENSE.txt
3343
summary: >
3444
This project implements a Pygments lexer for Robot Framework test data in
3545
plain text format.

0 commit comments

Comments
 (0)