From 0d13d8b5fb097eddb2a595dcf933f60b39acacdc Mon Sep 17 00:00:00 2001 From: Markus Hofbauer Date: Fri, 15 Apr 2022 13:59:24 +0200 Subject: [PATCH] run python unit tests in CI --- .github/workflows/main.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a51775ced..9c5907e74 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,4 +48,12 @@ jobs: with: python-version: 3.8 - name: Check for alias collisions - run: python3 tools/alias_collision/check_alias_collision.py plugins + run: python tools/alias_collision/check_alias_collision.py plugins + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements-dev.txt + - name: Run unit tests + run: | + cd tools/alias_collision/ + python -m unittest discover test