Skip to content

Commit

Permalink
Merge pull request #36 from freifunkMUC/run_bazel_tests
Browse files Browse the repository at this point in the history
Run bazel on push
  • Loading branch information
awlx authored Apr 26, 2021
2 parents 999558f + a06f496 commit ee57fb8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/bazel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Bazel tests

on: [push, pull_request]

jobs:
bazel-run:
runs-on: ubuntu-latest
steps:
- name: Setup cache
uses: actions/cache@v2
with:
path: "/home/runner/.cache/bazel"
key: bazel
- uses: actions/checkout@v2
- name: Run Bazel tests
run: bazel test ...:all
1 change: 0 additions & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ load("@rules_python//python:pip.bzl", "pip_install")

pip_install(
requirements = "//:requirements.txt",
python_interpreter = "/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9",
)

0 comments on commit ee57fb8

Please sign in to comment.