Skip to content

Commit 32dddc6

Browse files
CICD pipeline
1 parent fb81a0c commit 32dddc6

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/CD.yml renamed to .github/workflows/CICD.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,26 @@
1-
name: CD
1+
name: CICD
22

33
on:
44
push:
55
branches: [master, next]
66

77
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- name: Set up Python
13+
uses: actions/setup-python@v3
14+
with:
15+
python-version: "3.9"
16+
- name: Test
17+
run: |
18+
pip install pytest
19+
pip install -r requirements.txt
20+
pytest
821
build:
922
runs-on: ubuntu-latest
23+
needs: test
1024
steps:
1125
- name: Checkout
1226
uses: actions/checkout@v4

0 commit comments

Comments
 (0)