Skip to content

Commit ce32f69

Browse files
committed
Add original code
0 parents  commit ce32f69

File tree

6 files changed

+598
-0
lines changed

6 files changed

+598
-0
lines changed

.github/workflows/testing.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Testing workflow
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
style:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: actions/setup-python@v2
11+
with:
12+
python-version: '3.8'
13+
- name: "Install style checker"
14+
run: pip install black
15+
- name: "Run style check"
16+
run: black --check .
17+
build:
18+
needs: style
19+
runs-on: ubuntu-latest
20+
env:
21+
PROJECT_NAME: "Automation Lecture"
22+
steps:
23+
- name: "Run build phase"
24+
run: echo "Building project $PROJECT_NAME"
25+
test:
26+
needs: build
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v2
30+
- uses: actions/setup-python@v2
31+
with:
32+
python-version: '3.8'
33+
- name: "Run unittest"
34+
run: python -m unittest

0 commit comments

Comments
 (0)