Skip to content

Commit

Permalink
Adds automated CI tests on pull requests and master
Browse files Browse the repository at this point in the history
Adds github actions automated testing to pull requests and master
pushes.
  • Loading branch information
allada committed Apr 16, 2022
1 parent 98c4e08 commit e647de0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

# Controls when the workflow will run
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.0.1
with:
fetch-depth: 0
- name: Cache bazel
uses: actions/cache@v3.0.2
env:
cache-name: bazel-cache
with:
path: |
~/.cache/bazel
key: ${{ runner.os }}-${{ env.cache-name }}

- name: Bazel test
run: bazel test //...
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Turbo Cache

[![CI](https://github.com/allada/turbo-cache/actions/workflows/main.yml/badge.svg)](https://github.com/allada/turbo-cache/actions/workflows/main.yml)

An extremely fast and efficient bazel cache service (CAS) written in rust.

The goals of this project are:
Expand Down

0 comments on commit e647de0

Please sign in to comment.