near-examples / indexer-tx-watcher-example-lake Goto Github PK
View Code? Open in Web Editor NEWNEAR Lake Framework indexer example that watches for transaction for specified accounts/contracts
NEAR Lake Framework indexer example that watches for transaction for specified accounts/contracts
Hello!
A month ago or so I added a mail-cron to near-examples that checks the test results for all repos there. This in order to make sure examples still work when dependencies are upgraded by dependabot.
As such the aim is for repos to have some testing in place.
My question for you
Could you please add some tests to: https://github.com/near-examples/indexer-tx-watcher-example-lake? This helps make sure the code in the repo keeps working through time, and also sets a good example for visitors on how they should test their code :)
Here's an example GitHub Actions "test.yaml" file from another repo with testing (from project root /.github/workflows/test.yaml):
name: CI
on:
repository_dispatch:
types: [tests-report]
push:
jobs:
test:
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable-2020-10-08
target: wasm32-unknown-unknown
- name: Add wasm32 target
run: rustup target add wasm32-unknown-unknown
- name: Check that build works
run: ./build.sh
# TODO: check that files in `res` are unchanged
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
The repository_dispatch
key-value pair allows for the cron to remotely trigger the tests in this repo.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.