diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 00000000000000..3b8f6ca8e03b87 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,23 @@ +name: Tests + +on: [push, pull_request] + +jobs: + test: + + runs-on: ubuntu-16.04 + + steps: + - uses: actions/checkout@v2 + - name: Build docker image + run: docker build -t cereal . + - name: Unit Tests + run: | + docker run cereal bash -c "scons --test --asan -j$(nproc) && messaging/test_runner" + - name: Test ZMQ + run: | + docker run cereal bash -c "ZMQ=1 python -m unittest discover ." + - name: Test MSGQ + run: | + docker run cereal bash -c "MSGQ=1 python -m unittest discover ." + diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index c14526a5c1c404..00000000000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,14 +0,0 @@ -pr: none - -pool: - vmImage: 'ubuntu-16.04' - -steps: -- script: | - set -e - docker build -t cereal . - docker run cereal bash -c "scons --test --asan -j$(nproc) && messaging/test_runner" - docker run cereal bash -c "ZMQ=1 python -m unittest discover ." - docker run cereal bash -c "MSGQ=1 python -m unittest discover ." - - displayName: 'Run Tests'