Skip to content

Commit

Permalink
GitHub actions (#217)
Browse files Browse the repository at this point in the history
* Setup GitHub Actions CI

* Remove Azure Pipelines Config
  • Loading branch information
nelsonjchen authored Feb 17, 2020
1 parent fbbba94 commit 2ae0327
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 19 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Tests

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-16.04

steps:
- uses: actions/checkout@v2
- run: |
set -e
docker build -t opendbc .
name: "Build"
- run: |
docker run opendbc bash -c "python -m unittest discover opendbc"
name: "Unit tests"
- run: |
docker run opendbc bash -c "cd opendbc/can/tests/linter_python; PYTHONPATH=/ ./flake8_opendbc.sh"
docker run opendbc bash -c "cd opendbc/can/tests/linter_python; PYTHONPATH=/ ./pylint_opendbc.sh"
name: "Python linter"
- run: |
docker run opendbc bash -c "cd opendbc/can/tests/; PYTHONPATH=/ ./test_generator.sh"
name: "Generator test"
19 changes: 0 additions & 19 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit 2ae0327

Please sign in to comment.