mirror of
https://github.com/tig-foundation/tig-monorepo.git
synced 2026-02-22 02:47:50 +08:00
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
name: Test Workspace
|
|
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- 'satisfiability/*'
|
|
- 'vehicle_routing/*'
|
|
- 'knapsack/*'
|
|
- 'vector_search/*'
|
|
- 'hypergraph/*'
|
|
- 'test/satisfiability/*'
|
|
- 'test/vehicle_routing/*'
|
|
- 'test/knapsack/*'
|
|
- 'test/vector_search/*'
|
|
- 'test/hypergraph/*'
|
|
- 'dev/satisfiability/*'
|
|
- 'dev/vehicle_routing/*'
|
|
- 'dev/knapsack/*'
|
|
- 'dev/vector_search/*'
|
|
- 'dev/hypergraph/*'
|
|
|
|
jobs:
|
|
test_workspace:
|
|
name: Test Workspace
|
|
permissions:
|
|
contents: read
|
|
statuses: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
targets: x86_64-unknown-linux-gnu
|
|
- name: Cargo Test
|
|
run: >
|
|
cargo test -p tig-utils --features web3
|
|
- name: Update Commit Status (Success)
|
|
if: success()
|
|
uses: myrotvorets/set-commit-status-action@master
|
|
with:
|
|
status: 'success'
|
|
- name: Update Commit Status (Failure)
|
|
if: failure()
|
|
uses: myrotvorets/set-commit-status-action@master
|
|
with:
|
|
status: 'failure' |