Skip to content

Commit

Permalink
Add a build and a test job
Browse files Browse the repository at this point in the history
  • Loading branch information
MakisH committed Oct 9, 2024
1 parent 93c122e commit 12094f5
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 12094f5

Please sign in to comment.