Dev/data center #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test CI | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- '**/*.md' | |
- LICENSE | |
- '**/*.gitignore' | |
- examples/** | |
- .github/** | |
- view/** | |
- snapshots/** | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Rust Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: curl https://sh.rustup.rs -sSf | sudo sh -s -- -y | |
- run: sudo apt-get -y update && sudo apt-get -y install libpcap-dev telnet | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install dependencies and build | |
run: | | |
pnpm -C view install | |
pnpm -C view build | |
- run: sudo ~/.cargo/bin/cargo test |