Skip to content

Commit

Permalink
github workflow support
Browse files Browse the repository at this point in the history
  • Loading branch information
rdcm committed Oct 15, 2023
1 parent 3986ab8 commit 3ee33df
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: web-api

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

services:
mongodb:
image: mongo
ports:
- 27017:27017

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --workspace --verbose
- name: Run tests
run: cargo test --workspace --verbose

0 comments on commit 3ee33df

Please sign in to comment.