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

refactor: port cucumber tests to rs #5051

Merged
merged 282 commits into from
Jan 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
282 commits
Select commit Hold shift + click to select a range
4bf96ff
Merge pull request #5061 from agubarev/feature-cucumber-rs
brianp Dec 16, 2022
92b044a
Merge pull request #5062 from brianp/feature-cucumber-rs-test-ci-sepa…
brianp Dec 16, 2022
c42b4d4
add steps
jorgeantonio21 Dec 16, 2022
ca3f140
the merge
jorgeantonio21 Dec 16, 2022
c6b9697
changes
jorgeantonio21 Dec 16, 2022
f9ddade
cargo fmt
jorgeantonio21 Dec 16, 2022
7efab26
add changes
jorgeantonio21 Dec 16, 2022
4cb21dc
feat: add kill signal to cucumber nodes
Cifko Dec 16, 2022
f2ce73b
add kill on drop
Cifko Dec 16, 2022
546d52e
add datetime as a temp directory
Cifko Dec 16, 2022
598cc1c
fix merge issues
Cifko Dec 16, 2022
70a9a3f
Merge pull request #5063 from Cifko/cucumber
brianp Dec 19, 2022
d48aba1
resolve conflicts
jorgeantonio21 Dec 19, 2022
b57ea93
add mine block with coinbase step
jorgeantonio21 Dec 19, 2022
ac956c9
feat: add shutdown clone
Cifko Dec 20, 2022
9ef2c53
add fix for the crash in afterstep
Cifko Dec 20, 2022
07aecaf
add shutdown
Cifko Dec 20, 2022
fd09bad
Merge pull request #5065 from Cifko/fix-shutdown
brianp Dec 20, 2022
c1c7acd
remove miner cycle
jorgeantonio21 Dec 20, 2022
b68a398
merge feature cucumber rs branch and resolve conflicts
jorgeantonio21 Dec 20, 2022
f77b735
exports
jorgeantonio21 Dec 20, 2022
1169b4f
cargo fmt
jorgeantonio21 Dec 20, 2022
1547d54
refactor
jorgeantonio21 Dec 20, 2022
9059b50
first commit
jorgeantonio21 Dec 20, 2022
9baac90
add txs status mined confirmed cucumber step
jorgeantonio21 Dec 20, 2022
295e518
add txs status mined confirmed cucumber step
jorgeantonio21 Dec 20, 2022
60fbfa1
add step for setting up sha3 miner
jorgeantonio21 Dec 20, 2022
e6928b8
Merge pull request #5059 from jorgeantonio21/ja-cucumber-utils
brianp Dec 20, 2022
585ed0c
Expand node finding to different client types
brianp Dec 19, 2022
965fb27
Uncomment common working steps
brianp Dec 20, 2022
8d8a307
list all txs for wallet step
jorgeantonio21 Dec 20, 2022
87107d8
Merge similar function
brianp Dec 20, 2022
4e2f077
Uncomment more tests and write the new port finder
brianp Dec 20, 2022
ca59e04
Merge pull request #5068 from brianp/feature-cucumber-rs-node-or-wall…
brianp Dec 20, 2022
2b14d83
Comment out wallet step for now
brianp Dec 20, 2022
49e633d
Clippy warning
brianp Dec 20, 2022
dd55f53
Make the results readable
brianp Dec 20, 2022
9d3806a
10 minutes of waiting for nada
brianp Dec 20, 2022
89b393e
add wallet has num of txs
jorgeantonio21 Dec 21, 2022
d3139ad
add transaction builder
jorgeantonio21 Dec 21, 2022
e75dcbc
revert
jorgeantonio21 Dec 21, 2022
e8faac5
revert
jorgeantonio21 Dec 21, 2022
e173e62
merge and resolve
jorgeantonio21 Dec 21, 2022
1d35479
revert once again
jorgeantonio21 Dec 21, 2022
843f793
add cargo dependency
jorgeantonio21 Dec 21, 2022
34dbb98
changes
jorgeantonio21 Dec 21, 2022
93d2999
build
jorgeantonio21 Dec 21, 2022
0233ce3
clippy
jorgeantonio21 Dec 22, 2022
5ea3e42
add wallet wait for balance to be less than amount step
jorgeantonio21 Dec 22, 2022
470ca69
add non-default routing wallet step
jorgeantonio21 Dec 22, 2022
c0c091b
add one sided tx being broadcasted step
jorgeantonio21 Dec 22, 2022
e2df638
better logs and run only single test
Cifko Dec 21, 2022
af2c9ad
fix ci.yml
Cifko Dec 22, 2022
7283eb2
feat: fix miner
Cifko Dec 22, 2022
6710112
fix licences
Cifko Dec 22, 2022
075492f
fix clippy
Cifko Dec 22, 2022
b7ab292
fix unwrap error
Cifko Dec 22, 2022
f3ac8c4
Merge pull request #5070 from Cifko/logs-cleanup
brianp Dec 27, 2022
415dca9
Merge branch 'feature-cucumber-rs' into fix-miner
brianp Dec 27, 2022
2acf17b
Merge pull request #5067 from Cifko/fix-miner
brianp Dec 27, 2022
e23f0c8
rustfmt
brianp Dec 27, 2022
8503e1c
Merge branch 'feature-cucumber-rs' into ja-cucumber-rs-utils
brianp Dec 27, 2022
7d63ebf
typo
brianp Dec 27, 2022
8ddaa1e
Merge pull request #5066 from jorgeantonio21/ja-cucumber-rs-utils
brianp Dec 27, 2022
7d705ba
Fix duplicated config
brianp Dec 27, 2022
0032367
Merge branch 'development' into feature-cucumber-rs
brianp Dec 27, 2022
b010fa4
Fix duplicated config
brianp Dec 27, 2022
eb336ee
add changes
jorgeantonio21 Dec 27, 2022
10ecc8b
Uncomment mining initial mining steps
brianp Dec 27, 2022
8334b9e
Uncomment nodes at height steps
brianp Dec 27, 2022
1f1305e
Refactor nodes at height step function to wait for all nodes
brianp Dec 27, 2022
1d0f9a0
Wait until the services are running on expected ports
brianp Dec 27, 2022
3b84a59
add further coinbase steps
jorgeantonio21 Dec 27, 2022
c83a20c
Uncomment more steps
brianp Dec 28, 2022
7368385
Legit broken test
brianp Dec 28, 2022
e192618
add remaining steps
jorgeantonio21 Dec 28, 2022
8dce326
Merge pull request #5071 from brianp/feature-cucumber-rs-mining-steps
brianp Dec 28, 2022
90d7255
refactor
jorgeantonio21 Dec 28, 2022
c001202
resolve conflicts
jorgeantonio21 Dec 28, 2022
0ab455a
changes
jorgeantonio21 Dec 28, 2022
ae93269
clippy
jorgeantonio21 Dec 28, 2022
0fc7e90
add feature
jorgeantonio21 Dec 28, 2022
1ef662c
add features
jorgeantonio21 Dec 28, 2022
a6f4939
add features
jorgeantonio21 Dec 28, 2022
15080d3
readd license
brianp Dec 28, 2022
c6bb8c9
check
jorgeantonio21 Dec 28, 2022
89d3b1b
changes
jorgeantonio21 Dec 28, 2022
f8fbaed
rustfmt
brianp Dec 28, 2022
d9a8af6
Merge pull request #5069 from jorgeantonio21/ja-transaction-builder-c…
brianp Dec 28, 2022
198d3c7
first commit
jorgeantonio21 Dec 29, 2022
c92d5f2
copyright
jorgeantonio21 Dec 29, 2022
43d7b55
Merge pull request #5072 from jorgeantonio21/ja-resolve-swap-inputs-c…
brianp Dec 29, 2022
b1fab38
first commit
jorgeantonio21 Dec 29, 2022
ac025c6
Merge branch 'feature-cucumber-rs' into ja-base-node-connectivity-fea…
jorgeantonio21 Dec 29, 2022
b9a7f02
first commit
jorgeantonio21 Dec 29, 2022
0b9c5fb
clippy
jorgeantonio21 Dec 29, 2022
db297ce
add changes
jorgeantonio21 Dec 29, 2022
9a85a75
Merge pull request #5073 from jorgeantonio21/ja-base-node-connectivit…
brianp Dec 29, 2022
1b0ed0b
feat: add get tari address to wallet
Cifko Dec 29, 2022
b883759
Merge branch 'feature-cucumber-rs' into grpc-fix
jorgeantonio21 Dec 29, 2022
b486a63
Merge pull request #5075 from Cifko/grpc-fix
brianp Dec 29, 2022
db7a26f
add changes
jorgeantonio21 Dec 29, 2022
e48a956
Merge branch 'feature-cucumber-rs' into ja-wallet-transfer-feature
jorgeantonio21 Dec 29, 2022
b1b7b88
refactor tari address
jorgeantonio21 Dec 30, 2022
e70789a
add remaining steps
jorgeantonio21 Dec 31, 2022
2619ac2
add changes
jorgeantonio21 Jan 3, 2023
fd5f0a9
refactor
jorgeantonio21 Jan 3, 2023
ec7aafa
first commit
jorgeantonio21 Jan 3, 2023
0a8955c
add changes to use emission block reward
jorgeantonio21 Jan 3, 2023
01d8c32
add wait
jorgeantonio21 Jan 4, 2023
92ea043
add import logic for cucumber
jorgeantonio21 Jan 4, 2023
34b638d
refactor submit multiple transfer scenario
jorgeantonio21 Jan 4, 2023
653c550
add further changes
jorgeantonio21 Jan 4, 2023
8225546
revert changes on original file
jorgeantonio21 Jan 4, 2023
864574b
revert changes on original file
jorgeantonio21 Jan 4, 2023
c54e4a1
Merge pull request #5077 from jorgeantonio21/ja-wallet-transfer-feature
brianp Jan 4, 2023
73a72cd
Add retry constants
brianp Jan 5, 2023
7a2e4c8
Fix all nodes height check bug
brianp Jan 5, 2023
4a20a8c
Use file db for dht comms
brianp Jan 5, 2023
247c053
Don't wait to mine
brianp Jan 5, 2023
e2451bc
Wait longer when we have more blocks to propagate
brianp Jan 5, 2023
241bda8
add <wallet, base_node> mapping to tari world
jorgeantonio21 Jan 5, 2023
74a8c4b
Disable node height checks that are not possible yet
brianp Jan 5, 2023
b3380c7
Merge pull request #5085 from brianp/feature-cucumber-rs-bug-fixes
brianp Jan 5, 2023
4100c7e
add logic
jorgeantonio21 Jan 5, 2023
360b28c
debuggin process
jorgeantonio21 Jan 5, 2023
d77c826
debuggin process
jorgeantonio21 Jan 6, 2023
96ed0f1
refactor and add feature steps logic
jorgeantonio21 Jan 6, 2023
31c6b36
Merge branch 'development' into feature-cucumber-rs
brianp Jan 9, 2023
3ab4abe
Merge conflicts
brianp Jan 9, 2023
9a41213
Add new transaction bulding steps
brianp Jan 9, 2023
cd29818
Change timing
brianp Jan 9, 2023
4427b99
Uncomment mempool scenarios
brianp Jan 9, 2023
947faf6
feat: gracefully shutdown grpc server
Cifko Jan 9, 2023
38fd68b
add changes
jorgeantonio21 Jan 9, 2023
33ab156
Merge branch 'feature-cucumber-rs' into ja-wallet-transaction-feature
jorgeantonio21 Jan 9, 2023
129f426
Merge branch 'feature-cucumber-rs' into graceful-grpc-shutdown
jorgeantonio21 Jan 9, 2023
19b9746
BlockTemplate feature meddling
brianp Jan 9, 2023
1250a90
Merge pull request #5090 from Cifko/graceful-grpc-shutdown
brianp Jan 9, 2023
67b8628
Merge branch 'feature-cucumber-rs' into ja-wallet-transaction-feature
jorgeantonio21 Jan 9, 2023
53684ce
add furthe changes
jorgeantonio21 Jan 9, 2023
e7a32cc
Merge pull request #5074 from brianp/feature-cucumber-rs-mempool
brianp Jan 9, 2023
bc0e7af
Merge pull request #5091 from brianp/feature-cucumber-rs-blocktemplate
brianp Jan 9, 2023
22192b2
Add steps and changes for propagation features
brianp Jan 9, 2023
836f3e4
Uncomment steps
brianp Jan 9, 2023
d1d7b63
add csv export data
jorgeantonio21 Jan 10, 2023
33360cd
feat: add `node {word} is in state {word}`
Cifko Jan 10, 2023
a05499c
Finish off propagation feature
brianp Jan 10, 2023
8e6fafb
refactor changes
jorgeantonio21 Jan 10, 2023
70db55f
Pass in the new config
brianp Jan 10, 2023
adca3fa
add changes
jorgeantonio21 Jan 10, 2023
c4aaf5c
merge development
jorgeantonio21 Jan 10, 2023
084a0b0
cargo clippy
jorgeantonio21 Jan 10, 2023
7ffa82c
Merge pull request #5094 from Cifko/node_state
brianp Jan 10, 2023
9438f70
add changes
jorgeantonio21 Jan 10, 2023
b90ee74
refactor code
jorgeantonio21 Jan 10, 2023
e4a516d
add changes
jorgeantonio21 Jan 10, 2023
c9797c5
feat: add graceful shutdown of base node
Cifko Jan 11, 2023
d852a9f
add changes
jorgeantonio21 Jan 11, 2023
fa5fa5e
Merge pull request #5096 from Cifko/graceful-shutdown-for-base-node
brianp Jan 11, 2023
fcd8a3d
Merge pull request #5093 from brianp/feature-cucumber-rs-propagation
brianp Jan 11, 2023
5fca787
add changes
jorgeantonio21 Jan 11, 2023
154a32f
merge conflicts
jorgeantonio21 Jan 11, 2023
8042a3e
add changes
jorgeantonio21 Jan 11, 2023
a3387fd
Merge pull request #5082 from jorgeantonio21/ja-wallet-transaction-fe…
brianp Jan 11, 2023
818a050
Add sync feature steps
brianp Jan 10, 2023
e20d78e
Update retry var name
brianp Jan 11, 2023
7f8d967
fix naming
brianp Jan 11, 2023
4d688b9
Add missing test config
brianp Jan 11, 2023
eee8417
More config changes
brianp Jan 11, 2023
8aadac0
logging changes
brianp Jan 11, 2023
2f3c660
Make peer address finding into a function
brianp Jan 11, 2023
e573e4e
Remove frequently unneeded options
brianp Jan 11, 2023
4aec5d0
Make localnet faucet 0
brianp Jan 11, 2023
a95d8c6
not long running
brianp Jan 11, 2023
46873a0
merge conflicts
brianp Jan 11, 2023
d25faaa
first commit
jorgeantonio21 Jan 11, 2023
909c226
Merge pull request #5097 from brianp/feature-cucumber-rs-sync
brianp Jan 11, 2023
ad92e11
fix: couple fixes for cucumber
Cifko Jan 12, 2023
855aee1
Merge pull request #5102 from Cifko/fix-cucumber
brianp Jan 12, 2023
8b6c673
Comment out consistent failures
brianp Jan 11, 2023
3ab9a9c
Keep identities and config
brianp Jan 11, 2023
aa4f2ff
Retry ones that are still flaky
brianp Jan 11, 2023
7988149
Merge pull request #5100 from brianp/feature-cucumber-rs-wallet
brianp Jan 12, 2023
6e79103
Comment out consistent failures
brianp Jan 11, 2023
94c4e65
Add steps for reorg scenario
brianp Jan 11, 2023
48f64b5
Finish off mempool
brianp Jan 12, 2023
a266da2
Merge conflict
brianp Jan 12, 2023
9efbbfc
resolve merge conflicts
jorgeantonio21 Jan 12, 2023
5b88139
Retry all failures
brianp Jan 12, 2023
fbe7009
Merge pull request #5105 from brianp/feature-cucumber-rs-reorg
brianp Jan 12, 2023
f14de23
first commit
jorgeantonio21 Jan 12, 2023
fa67fc2
refactor recovery mode
jorgeantonio21 Jan 12, 2023
246d789
Update the cucumber schedule
brianp Jan 12, 2023
b0448ea
Remove build step
brianp Jan 12, 2023
3d16307
Update for readability
brianp Jan 12, 2023
0a5437d
add changes
jorgeantonio21 Jan 12, 2023
71c64a0
remove further comments
jorgeantonio21 Jan 12, 2023
52dd96e
Merge branch 'feature-cucumber-rs' into ja-transaction-info-feature
jorgeantonio21 Jan 12, 2023
16c43b9
merge conflicts
jorgeantonio21 Jan 12, 2023
9d44b6d
Remove cucumber js
brianp Jan 13, 2023
efbe25a
Remove non existed files from license ignore
brianp Jan 13, 2023
e5690b1
Merge pull request #5104 from jorgeantonio21/ja-transaction-info-feature
brianp Jan 13, 2023
d2bf95d
Merge pull request #5110 from brianp/feature-cucumber-rs-ci
brianp Jan 13, 2023
531db79
Merge pull request #5112 from brianp/feature-cucumber-rs-rm-js
brianp Jan 13, 2023
8aaad55
Merge branch 'feature-cucumber-rs' into ja-recovery-feature
jorgeantonio21 Jan 13, 2023
6114ef2
Merge branch 'development' into feature-cucumber-rs
brianp Jan 13, 2023
62cb527
toolchain upgrade warnings
brianp Jan 13, 2023
2d1a346
add changes
jorgeantonio21 Jan 13, 2023
f211617
Merge branch 'feature-cucumber-rs' into ja-recovery-feature
jorgeantonio21 Jan 13, 2023
361e895
update readme
brianp Jan 13, 2023
19a930e
A little cleanup
brianp Jan 13, 2023
da9115b
Fix integration_tests.yml workflow
brianp Jan 13, 2023
a7efd66
first commit
jorgeantonio21 Jan 13, 2023
a26f097
Fix integration_tests.yml workflow
brianp Jan 13, 2023
fc99c2b
Run cucumber @critical on all PRs
brianp Jan 13, 2023
4c259e7
Don't run the same job twice at the same time
brianp Jan 13, 2023
f6b6145
second commit
jorgeantonio21 Jan 13, 2023
cf902df
Merge branch 'feature-cucumber-rs' into ja-wallet-cli-feature
jorgeantonio21 Jan 13, 2023
2fb56be
small refactor
jorgeantonio21 Jan 16, 2023
40b18a6
Error out when there is an error
brianp Jan 16, 2023
80fbbf2
Separate FFI and Base layer to see failures independently
brianp Jan 16, 2023
2d01946
small refactor
jorgeantonio21 Jan 16, 2023
dad863e
Merge branch 'feature-cucumber-rs' into ja-wallet-cli-feature
jorgeantonio21 Jan 16, 2023
7eac4c8
Run wallet-ffi without concurrency
brianp Jan 16, 2023
698d3a1
revert recovery changes
jorgeantonio21 Jan 16, 2023
2bfb182
Remove duplication
brianp Jan 16, 2023
795e717
feat: wallet FFI cucumber
Cifko Dec 29, 2022
5f2dde9
mark broken, and don't run them
Cifko Jan 13, 2023
a36f1f0
unmark not broken
Cifko Jan 15, 2023
9b94f55
remove broken tag
Cifko Jan 15, 2023
f4996b3
unbreak tests that are not ffi fault
Cifko Jan 16, 2023
ed44648
remove custom run filter
Cifko Jan 16, 2023
f4fac33
add changes
jorgeantonio21 Jan 16, 2023
7034940
add changes
jorgeantonio21 Jan 16, 2023
bdab5a1
update yml with correct tags
Cifko Jan 16, 2023
58a4ce3
add changes
jorgeantonio21 Jan 16, 2023
4b93407
Merge branch 'feature-cucumber-rs' into ja-wallet-cli-feature
jorgeantonio21 Jan 16, 2023
ef3c0a9
refactor failing test
jorgeantonio21 Jan 16, 2023
6d1f009
mark broken
Cifko Jan 16, 2023
b48da33
start CI
jorgeantonio21 Jan 16, 2023
164a4d4
Merge pull request #5076 from Cifko/ffi-cucumber-tests
brianp Jan 17, 2023
ced6091
resolve conflicts
jorgeantonio21 Jan 17, 2023
a892315
Merge pull request #5115 from jorgeantonio21/ja-wallet-cli-feature
brianp Jan 19, 2023
10cc351
Merge branch 'development' into feature-cucumber-rs
stringhandler Jan 20, 2023
24f8375
Clippy warnings for new toolchain
brianp Jan 20, 2023
518691f
Missing license
brianp Jan 20, 2023
19fdc92
Make sure the tx is higher or the same as its inputs
brianp Jan 20, 2023
9ac514c
test: merge mining proxy
Cifko Jan 13, 2023
21272d3
Merge pull request #5113 from Cifko/merge-mining-cucumber
brianp Jan 20, 2023
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
2 changes: 1 addition & 1 deletion .github/workflows/base_node_binaries.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"name": "linux-x86_64",
"runs-on": "ubuntu-20.04",
"rust": "nightly-2022-05-01",
"rust": "nightly-2022-11-03",
"target": "x86_64-unknown-linux-gnu",
"cross": false,
"target_cpu": "x86-64",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/base_node_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ concurrency:
env:
TBN_FILENAME: "tari_suite"
TBN_BUNDLEID_BASE: "com.tarilabs.pkg"
toolchain: nightly-2022-05-01
toolchain: nightly-2022-11-03
matrix-json-file: ".github/workflows/base_node_binaries.json"
CARGO_HTTP_MULTIPLEXING: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_dockers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ name: Build docker images
- xmrig

env:
toolchain_default: nightly-2022-05-01
toolchain_default: nightly-2022-11-03

jobs:
builds_envs_setup:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_dockers_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: Build docker images - workflow_call/on-demand
toolchain:
type: string
description: 'Rust toolchain'
default: nightly-2022-05-01
default: nightly-2022-11-03
arch:
type: string
default: x86-64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_libwallets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ name: Build libwallets
description: 'Rust toolchain'

env:
toolchain_default: nightly-2022-05-01
toolchain_default: nightly-2022-11-03

jobs:
builds_envs_setup:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_libwallets_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ name: Build libwallet - workflow_call/on-demand
toolchain:
type: string
description: 'Rust toolchain'
default: 'nightly-2022-05-01'
default: 'nightly-2022-11-03'

jobs:
android_build:
Expand Down
25 changes: 12 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: CI

'on':
"on":
workflow_dispatch:
push:
branches:
Expand All @@ -15,7 +15,7 @@ name: CI
- synchronize

env:
toolchain: nightly-2022-05-01
toolchain: nightly-2022-11-03
CARGO_HTTP_MULTIPLEXING: false
CARGO_TERM_COLOR: always
PROTOC: protoc
Expand All @@ -25,7 +25,7 @@ jobs:
clippy:
name: clippy
#runs-on: [ self-hosted, ubuntu18.04-high-cpu ]
runs-on: [ ubuntu-20.04 ]
runs-on: [ubuntu-20.04]
steps:
- name: checkout
uses: actions/checkout@v3
Expand All @@ -34,7 +34,6 @@ jobs:
with:
toolchain: ${{ env.toolchain }}
components: clippy, rustfmt
override: true
- name: ubuntu dependencies
run: |
sudo apt-get update
Expand All @@ -55,8 +54,8 @@ jobs:
command: lints
args: clippy --all-targets --all-features
build:
name: check nightly
runs-on: [ self-hosted, ubuntu18.04-high-cpu ]
name: cargo check
runs-on: [self-hosted, ubuntu18.04-high-cpu]
steps:
- name: checkout
uses: actions/checkout@v3
Expand All @@ -81,8 +80,8 @@ jobs:
command: check
args: --release --package tari_wallet_ffi
build-stable:
name: check stable
runs-on: [ self-hosted, ubuntu18.04-high-cpu ]
name: cargo check stable
runs-on: [self-hosted, ubuntu18.04-high-cpu]
steps:
- name: checkout
uses: actions/checkout@v3
Expand All @@ -104,15 +103,15 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: check
args: --release --all-targets --locked
args: --release --all-targets --workspace --exclude tari_integration_tests --locked
- name: cargo check ffi separately
uses: actions-rs/cargo@v1
with:
command: check
args: --release --package tari_wallet_ffi
licenses:
name: file licenses
runs-on: [ ubuntu-20.04 ]
runs-on: [ubuntu-20.04]
steps:
- name: checkout
uses: actions/checkout@v3
Expand All @@ -125,7 +124,7 @@ jobs:
run: ./scripts/file_license_check.sh
test:
name: test
runs-on: [ self-hosted, ubuntu18.04-high-cpu ]
runs-on: [self-hosted, ubuntu18.04-high-cpu]
steps:
- name: checkout
uses: actions/checkout@v3
Expand All @@ -152,12 +151,12 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: -v --all-features --release
args: -v --all-features --release --workspace --exclude tari_integration_tests

# Allows other workflows to know the PR number
artifacts:
name: pr_2_artifact
runs-on: [ ubuntu-20.04 ]
runs-on: [ubuntu-20.04]
steps:
- name: Save the PR number in an artifact
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: Source Coverage
- ci-coverage-*

env:
toolchain: nightly-2022-05-01
toolchain: nightly-2022-11-03

jobs:
coverage:
Expand Down
Loading