From 913bce535c3267b15ede63fc8ecde92630ce0d18 Mon Sep 17 00:00:00 2001 From: Alessio Placitelli Date: Mon, 22 Mar 2021 15:57:10 +0100 Subject: [PATCH] Make sure to build the addon before running tests This guarantees Glean files get generated. --- .circleci/config.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9c9ad4b1..4bdacb4e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,6 +29,9 @@ jobs: - run: name: Install the dependencies command: npm install + - run: + name: Build the Addon + command: npm run build-addon - run: name: MochaJS unit tests command: npm run test-addon @@ -59,6 +62,9 @@ jobs: - run: name: Install the dependencies command: npm install && sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa && sudo apt update && sudo apt install firefox-trunk + - run: + name: Build the Addon + command: npm run build-addon - run: name: Run Selenium tests command: export PATH=.:$PATH && npm run test-integration