From 02729c7f2a993cbece54654da0fcb8d45807258d Mon Sep 17 00:00:00 2001 From: William Gibson Date: Sun, 18 Oct 2020 21:26:01 +0100 Subject: [PATCH] Add CI for tests --- .github/workflows/test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000000..876b7e3436 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +name: Unit Tests + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + test: + name: Test + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v2 + - name: Set up Python 3.8 + uses: actions/setup-python@v2 + with: + python-version: 3.8 + - name: Install Dependencies + run: pip install ipython numpy tqdm requests + - name: Run Tests + run: ipython3 test/mnist.py