From e16afb52ed9b3db92db0917dd83759140acb6813 Mon Sep 17 00:00:00 2001 From: Raphael <16480203+sundowndev@users.noreply.github.com> Date: Thu, 26 Sep 2019 10:53:10 +0200 Subject: [PATCH] Create python tests actions workflow --- .github/workflows/python-tests.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/python-tests.yml diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml new file mode 100644 index 0000000..194adb2 --- /dev/null +++ b/.github/workflows/python-tests.yml @@ -0,0 +1,26 @@ +name: Python tests + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + max-parallel: 4 + matrix: + python-version: [3.6, 3.7] + + steps: + - uses: actions/checkout@v1 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + + #- name: Install dependencies + # run: | + # python -m pip install --upgrade pip + # pip install -r requirements.txt + + - name: Test solutions + run: python -m unittest ./python/*/solution.py -v