Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: .gitlab-ci.yml

Issue 29867566: Issue 6890 - run npm tests in parallel (PENDING) (Closed) Base URL: https://codereview.adblockplus.org/29862580/
Patch Set: Created Aug. 28, 2018, 8:35 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # This file is part of Adblock Plus <https://adblockplus.org/>, 1 # This file is part of Adblock Plus <https://adblockplus.org/>,
2 # Copyright (C) 2006-present eyeo GmbH 2 # Copyright (C) 2006-present eyeo GmbH
3 # 3 #
4 # Adblock Plus is free software: you can redistribute it and/or modify 4 # Adblock Plus is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License version 3 as 5 # it under the terms of the GNU General Public License version 3 as
6 # published by the Free Software Foundation. 6 # published by the Free Software Foundation.
7 # 7 #
8 # Adblock Plus is distributed in the hope that it will be useful, 8 # Adblock Plus is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details. 11 # GNU General Public License for more details.
12 # 12 #
13 # You should have received a copy of the GNU General Public License 13 # You should have received a copy of the GNU General Public License
14 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 14 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
15 15
16 stages: 16 stages:
17 - test_ext 17 - prepare
18 - test
18 19
19 qunit:gecko: 20 prepare-dependencies:
20 stage: test_ext 21 stage: prepare
21 script: 22 script:
22 - mkdir -p .git/info 23 - mkdir -p .git/info
23 - pip install --user Jinja2 cryptography 24 - pip install --user Jinja2 cryptography
25 - python ensure_dependencies.py
Sebastian Noack 2018/08/28 11:22:55 I wonder whether this should rather go in pretest
tlucas 2018/08/28 12:21:59 Since "python build.py" - which is called anyway i
Sebastian Noack 2018/08/28 12:50:57 After your changes running the tests as well on Ch
tlucas 2018/08/29 08:14:27 Gotya. I moved "python ensure_dependencies.py" to
Sebastian Noack 2018/08/29 21:03:11 Now, we are running ensure_dependencies.py 3 times
tlucas 2018/08/30 11:05:58 Let me try to clarify the current state (chronolog
Sebastian Noack 2018/08/30 15:17:28 I agree that we should ideally have ensure_depende
tlucas 2018/09/03 09:54:45 As far as i understand (from their docs [1]) it's
Sebastian Noack 2018/09/03 19:37:35 Fair enough.
24 - npm install 26 - npm install
25 - npm test 27 cache:
28 key: cache_$CI_COMMIT_SHA
29 paths:
30 - ./
31 policy: push
32
33
34 .test_template: &test_template
35 stage: test
36 cache:
37 key: cache_$CI_COMMIT_SHA
38 paths:
39 - ./
40 policy: pull
41
42 qunit:gecko:
Sebastian Noack 2018/08/28 11:22:55 That the only thing currently performed is running
tlucas 2018/08/28 12:21:59 No plans for jobs per tests, so changed the naming
Sebastian Noack 2018/08/28 12:50:57 I know, go ahead. :)
tlucas 2018/08/29 08:14:27 Done.
43 <<: *test_template
44 script:
45 - npm test -- -g gecko
46
47 qunit:chrome:
48 <<: *test_template
49 script:
50 - xvfb-run npm test -- -g chrome
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld