From 8f4d299436599e91e3dfcec1dbdc7c7df1f6257d Mon Sep 17 00:00:00 2001 From: Konstantinos Bairaktaris Date: Mon, 10 Jun 2024 16:58:25 +0300 Subject: [PATCH] Add github action --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..6251002e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +--- + +name: Run Tests + +on: + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Use Python version + uses: actions/setup-python@v3 + with: + python-version: 3.9 + + - name: Install dependencies + run: | + pip install . + pip install six mock coverage + + - name: Run Tests + run: | + coverage run -m unittest + coverage report