Merge pull request #103 from ucb-bar/use-github-actions-for-ci
Use github actions for testing
This commit is contained in:
26
.github/workflows/run-ci.yml
vendored
Normal file
26
.github/workflows/run-ci.yml
vendored
Normal 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
|
||||
12
.travis.yml
12
.travis.yml
@@ -1,12 +0,0 @@
|
||||
git:
|
||||
submodules: true
|
||||
language: scala
|
||||
# run on new infrastructure
|
||||
sudo: false
|
||||
|
||||
cache:
|
||||
directories:
|
||||
$HOME/.ivy2
|
||||
|
||||
script:
|
||||
- sbt test
|
||||
10
README.md
10
README.md
@@ -1,5 +1,11 @@
|
||||
# barstools
|
||||
Useful utilities for BAR projects
|
||||
Barstools
|
||||
==================
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||
**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.
|
||||
|
||||
Reference in New Issue
Block a user