From 0ef977b213ef97cb718b29497ca622cabab03e58 Mon Sep 17 00:00:00 2001 From: Thiago Panini Date: Mon, 11 Sep 2023 19:21:53 -0300 Subject: [PATCH] ci: included a python setup step before unit tests --- .github/workflows/ci-feature.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci-feature.yml b/.github/workflows/ci-feature.yml index 92b6cc1..e2dd12b 100644 --- a/.github/workflows/ci-feature.yml +++ b/.github/workflows/ci-feature.yml @@ -45,6 +45,16 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - name: Python Setup + uses: actions/setup-python@v3 + with: + python-version: '3.10' + + - name: Dependencies Setup + run: | + python -m pip install --upgrade pip + python -m pip install -r ./requirements/dev.txt + - name: Unit Test with pytest run: pytest -vv --color=yes --cov=./ --cov-report=xml