From 8edaadeec0494fff98af748dfb6b88f68153432e Mon Sep 17 00:00:00 2001 From: Sebastien Date: Thu, 18 Jul 2024 17:51:03 +1000 Subject: [PATCH] add: pipeline CICD unittesting --- .github/workflows/python-cicd-units.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/python-cicd-units.yaml diff --git a/.github/workflows/python-cicd-units.yaml b/.github/workflows/python-cicd-units.yaml new file mode 100644 index 0000000..e5d5cd0 --- /dev/null +++ b/.github/workflows/python-cicd-units.yaml @@ -0,0 +1,21 @@ +name: Python CICD pipelines - Unittesting + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.10 + uses: actions/setup-python@v2 + with: + python-version: 3.10 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install numpy scipy pandas + - name: Run tests + run: | + python -m unittest discover -s tests -v