Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: github actions #4014

Merged
merged 1 commit into from
Apr 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 28 additions & 12 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
branches:
- development

env:
toolchain: nightly-2021-11-20

jobs:
coverage:
name: test
Expand All @@ -19,17 +23,30 @@ jobs:
run: |
sudo apt-get update && \
sudo apt-get -y install \
build-essential \
libgtk-3-dev \
libwebkit2gtk-4.0-dev \
libsoup2.4-dev \
curl \
wget \
libappindicator3-dev \
patchelf \
librsvg2-dev \
libprotobuf-dev \
protobuf-compiler
openssl \
libssl-dev \
pkg-config \
libsqlite3-dev \
clang-10 \
clang \
git \
cmake \
libc++-dev \
libc++abi-dev \
libprotobuf-dev \
protobuf-compiler \
libncurses5-dev \
libncursesw5-dev \
zip \
build-essential \
libgtk-3-dev \
libwebkit2gtk-4.0-dev \
libsoup2.4-dev \
curl \
wget \
libappindicator3-dev \
patchelf \
librsvg2-dev \
- name: test key manager wasm
run: |
npm install -g wasm-pack
Expand All @@ -50,7 +67,6 @@ jobs:
command: test
args: --all-features
- name: generate coverage report
usesid: coverage
run: |
grcov . -s . --binary-path ./target/debug -t lcov --branch --ignore-not-existing -o ./target/report.lcov
- name: Coveralls upload
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/long_running.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Runs weekly (saturday noon)
name: Non critical integration tests
name: Long running integration tests
on:
schedule:
- cron: "0 12 * * 6"
Expand Down Expand Up @@ -80,9 +80,11 @@ jobs:
- name: Run integration tests
run: cd integration_tests && mkdir -p cucumber_output && node_modules/.bin/cucumber-js --profile "long-running" --tags "not @wallet-ffi" --format json:cucumber_output/tests.cucumber --exit --retry 2 --retry-tag-filter "@flaky and not @broken"
- name: Generate report
if: always()
run: cd integration_tests && node ./generate_report.js
- name: Store test results
uses: actions/upload-artifact@v3
if: always()
with:
name: test results
path: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/non_critical_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ jobs:
- name: Run integration tests
run: cd integration_tests && mkdir -p cucumber_output && node_modules/.bin/cucumber-js --profile "non-critical" --tags "not @wallet-ffi" --format json:cucumber_output/tests.cucumber --exit --retry 2 --retry-tag-filter "@flaky and not @broken"
- name: Generate report
if: always()
run: cd integration_tests && node ./generate_report.js
- name: Store test results
uses: actions/upload-artifact@v3
if: always()
with:
name: test results
path: |
Expand Down