From 3f5a7c01156be2a34c3860cfe48ba62d83954199 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 22 Oct 2022 16:22:20 -0700 Subject: [PATCH] Created cpu test workflow --- .github/workflows/cpu_ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/cpu_ci.yml diff --git a/.github/workflows/cpu_ci.yml b/.github/workflows/cpu_ci.yml new file mode 100644 index 000000000..61918e426 --- /dev/null +++ b/.github/workflows/cpu_ci.yml @@ -0,0 +1,28 @@ +name: "Run CPU Tests" + +on: "push" + +jobs: + run-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Install Python + uses: actions/setup-python@v4 + with: + python-version: "3.8" + + - name: Upgrade Pip + run: python -m pip install --upgrade pip + + - name: Install Dependencies + run: | + pip install -r requirements/requirements.txt + pip install -r requirements/requirements-dev.txt + + - name: Prepare Data + run: python prepare_data.py + + - name: Run CPU Tests + run: pip install pytest