From 12094f500a2283ed31d9430a343fec30a107b73c Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Wed, 9 Oct 2024 14:59:00 +0200 Subject: [PATCH] Add a build and a test job --- .github/workflows/testing.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index b968660..4a7e3ee 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -14,4 +14,21 @@ jobs: run: pip install black - name: "Run style check" run: black --check . - + build: + needs: style + runs-on: ubuntu-latest + env: + PROJECT_NAME: "Automation Lecture" + steps: + - name: "Run build phase" + run: echo "Building project $PROJECT_NAME" + test: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: '3.10.12' + - name: "Run unittest" + run: python -m unittest