mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-22 12:38:05 +00:00
Add github workflows (#254)
* Add new workflows to set labels and build/test the backend * Add frontend workflow * Limit triggers to PUSH only * Fix so that BE and FE are mutually exclusive * Bump up frontend * Fix case to match current tags
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: Backend CI
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'backend/**'
|
||||
- '!frontend/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build
|
||||
working-directory: ./backend
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
working-directory: ./backend
|
||||
run: cargo test --verbose
|
||||
- name: Request help
|
||||
working-directory: ./backend
|
||||
run: cargo run --release -- --help
|
||||
Reference in New Issue
Block a user