-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (34 loc) · 1.04 KB
/
ci.yml
File metadata and controls
43 lines (34 loc) · 1.04 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: ci
on:
push:
branches:
- master
- main
pull_request:
jobs:
rust-test:
runs-on: ubuntu-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Validate release metadata
run: python3 scripts/release_preflight.py
- name: Test release scripts
run: python3 scripts/test_release_scripts.py
- name: Test web UI invariants
run: python3 scripts/test_web_ui_invariants.py
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Verify library package assets
shell: bash
run: |
cargo package --list --allow-dirty --manifest-path rust/crates/memorph/Cargo.toml > cargo-package-files.txt
grep -Fx "assets/i18n.json" cargo-package-files.txt
- name: Run tests
run: cargo test --locked --manifest-path rust/Cargo.toml