Skip to content

Commit e0e98c3

Browse files
author
Jonathon Belotti
authored
Github Actions C.I Setup (#30)
1 parent a6c756d commit e0e98c3

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
# Checks-out the repository under $GITHUB_WORKSPACE, so the job can access it
15+
- uses: actions/checkout@v2
16+
17+
- name: Setup Bazel
18+
uses: abhinavsingh/setup-bazel@v3
19+
with:
20+
# Bazel version to install e.g. 1.2.1, 2.0.0, ...
21+
version: 2.0.0 # optional, default is 2.0.0
22+
23+
- name: Run tests
24+
run: bazel test //...

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# rules_python_external
1+
# rules_python_external ![](https://github.com/dillon-giacoppo/rules_python_external/workflows/CI/badge.svg)
22

33
Bazel rules to transitively fetch and install Python dependencies from a requirements.txt file.
44

0 commit comments

Comments
 (0)