Skip to content

Commit 84ffb8a

Browse files
committed
Remove coverage job on CircleCI
1 parent e466d16 commit 84ffb8a

File tree

1 file changed

+0
-112
lines changed

1 file changed

+0
-112
lines changed

.circleci/config.yml

Lines changed: 0 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ workflows:
1717
- test-chrome:
1818
requires:
1919
- build
20-
- coverage:
21-
requires:
22-
- build
2320

2421
jobs:
2522
build:
@@ -264,112 +261,3 @@ jobs:
264261
./scripts/simapp50/stop.sh
265262
./scripts/simapp50/slow_stop.sh
266263
./scripts/wasmd/stop.sh
267-
coverage:
268-
machine:
269-
# We can't use a containerized environment since it requires remote docker to start custom containers.
270-
# However, we can't access the remote docker's network from the primary container. This is a
271-
# feature, as documented in https://circleci.com/docs/2.0/building-docker-images/#separation-of-environments
272-
# As a consequence, we cannot use the circleci CLI for this job because "You cannot use the machine
273-
# executor in local jobs." (https://circleci.com/docs/2.0/local-cli/#limitations-of-running-jobs-locally)
274-
#
275-
# Available images: https://circleci.com/developer/machine/image/ubuntu-2004
276-
# Note that ubuntu-2004:202111-02 and above cause checksum issues when installing yarn packages. No idea why.
277-
image: ubuntu-2004:202111-02
278-
resource_class: large
279-
steps:
280-
- run:
281-
name: Install Git Large File Storage (LFS)
282-
# In the current image, `sudo apt install git-lfs` requires `sudo apt update` which is too slow
283-
command: |
284-
wget -O "$HOME/git-lfs.deb" https://packagecloud.io/github/git-lfs/packages/ubuntu/focal/git-lfs_2.13.3_amd64.deb/download.deb
285-
sudo dpkg -i "$HOME/git-lfs.deb"
286-
- checkout
287-
- run: # start early for less wait time below
288-
name: Start wasmd
289-
command: ./scripts/wasmd/start.sh
290-
background: true
291-
- run:
292-
name: Start simapp
293-
command: ./scripts/simapp50/start.sh
294-
background: true
295-
- run:
296-
name: Start slow simapp
297-
command: ./scripts/simapp50/slow_start.sh
298-
background: true
299-
- run:
300-
name: Start Tendermint blockchains
301-
command: ./scripts/tendermint/all_start.sh
302-
background: true
303-
- attach_workspace:
304-
at: /tmp/builds
305-
- run:
306-
name: Merge build folders into project (merge with hardlinks)
307-
command: cp --recursive --link /tmp/builds/* .
308-
- run:
309-
# The images comes with preinstalled nvm, which does not work well with non-login shells
310-
name: Uninstall nvm
311-
# Moving to trash is faster than deleting (gvfs-trash is not installed on this image)
312-
command: |
313-
nvm --version && nvm ls
314-
mkdir -p ~/.local/share/Trash && mv "$NVM_DIR" ~/.npm ~/.local/share/Trash
315-
- run:
316-
name: Install nodejs
317-
command: |
318-
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo bash -
319-
sudo apt-get install -y nodejs
320-
- run:
321-
name: Install yarn
322-
command: |
323-
wget -O "$HOME/yarn.deb" https://dl.yarnpkg.com/debian/pool/main/y/yarn/yarn_1.22.15_all.deb
324-
sudo dpkg -i "$HOME/yarn.deb"
325-
- run:
326-
name: Version information
327-
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
328-
- run:
329-
name: Install libusb
330-
# In the current image, `sudo apt install libusb-1.0-0-dev` requires `sudo apt update` which is too slow
331-
command: |
332-
wget -O "$HOME/libusb.deb" http://de.archive.ubuntu.com/ubuntu/pool/main/libu/libusb-1.0/libusb-1.0-0-dev_1.0.23-2build1_amd64.deb
333-
sudo dpkg -i "$HOME/libusb.deb"
334-
- run:
335-
name: Install libudev-dev
336-
# See https://packages.ubuntu.com/focal/libudev-dev (Ubuntu 20.04)
337-
command: |
338-
wget -O "$HOME/libudev1.deb" http://security.ubuntu.com/ubuntu/pool/main/s/systemd/libudev1_245.4-4ubuntu3.20_amd64.deb
339-
wget -O "$HOME/libudev-dev.deb" http://security.ubuntu.com/ubuntu/pool/main/s/systemd/libudev-dev_245.4-4ubuntu3.20_amd64.deb
340-
sudo dpkg -i "$HOME/libudev1.deb"
341-
sudo dpkg -i "$HOME/libudev-dev.deb"
342-
- run:
343-
name: Install Dependencies
344-
command: yarn install --immutable --immutable-cache --check-cache
345-
- run:
346-
name: Initialize wasmd (deploy contracts and friends)
347-
command: ./scripts/wasmd/init.sh
348-
- run:
349-
name: Start socket server
350-
command: ./scripts/socketserver/start.sh
351-
- run:
352-
name: Start http server
353-
command: ./scripts/httpserver/start.sh
354-
- run:
355-
environment:
356-
HTTPSERVER_ENABLED: 1
357-
SIMAPP50_ENABLED: 1
358-
SLOW_SIMAPP50_ENABLED: 1
359-
TENDERMINT_ENABLED: 1
360-
SOCKETSERVER_ENABLED: 1
361-
SKIP_BUILD: 1
362-
WASMD_ENABLED: 1
363-
command: yarn coverage
364-
- run:
365-
name: Upload coverage report
366-
command: npx codecov
367-
- run:
368-
name: Stop chains
369-
command: |
370-
./scripts/httpserver/stop.sh
371-
./scripts/socketserver/stop.sh
372-
./scripts/tendermint/all_stop.sh
373-
./scripts/simapp50/stop.sh
374-
./scripts/simapp50/slow_stop.sh
375-
./scripts/wasmd/stop.sh

0 commit comments

Comments
 (0)