Merge pull request #103 from ucb-bar/use-github-actions-for-ci

Use github actions for testing
This commit is contained in:
Chick Markley
2021-07-13 09:39:23 -07:00
committed by GitHub
3 changed files with 34 additions and 14 deletions

26
.github/workflows/run-ci.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Test
on:
pull_request:
push:
branches:
- master
jobs:
test:
name: Unit Tests
runs-on: ubuntu-latest
strategy:
matrix:
scala: [ 2.12.14 ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Scala
uses: olafurpg/setup-scala@v10
- name: Cache
uses: coursier/cache-action@v5
- name: Get submodules
run: git submodule update --init
- name: Test
run: sbt test

View File

@@ -1,12 +0,0 @@
git:
submodules: true
language: scala
# run on new infrastructure
sudo: false
cache:
directories:
$HOME/.ivy2
script:
- sbt test

View File

@@ -1,5 +1,11 @@
# barstools
Useful utilities for BAR projects
Barstools
==================
---
![Test](https://github.com/freechipsproject/ucb-bar/barstools/Test/badge.svg)
**Barstools** is a coolection of useful utilities for BAR projects
Passes/Transforms that could be useful if added here:
* Check that a module was de-duplicated. Useful for MIM CAD flows and currently done in python.