-
Notifications
You must be signed in to change notification settings - Fork 9
29 lines (29 loc) · 846 Bytes
/
test.yml
File metadata and controls
29 lines (29 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Idea Test Suite
on: ["push", "pull_request"]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Install dependencies
run: yarn
- name: Building Code
run: yarn build
- name: Run Tests
run: yarn report
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
files: coverage/lcov.info packages/idea-rust/coverage/lcov.info
format: lcov
github-token: ${{ secrets.GITHUB_TOKEN }}