Skip to content

Commit 59c1683

Browse files
committed
continuous intergration code added
1 parent 2304263 commit 59c1683

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ name: CI Pipeline
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main]
66
pull_request:
77
branches: [main]
8-
98

109
jobs:
1110
test:
12-
runs-on: ubuntu-latest
11+
runs-on: windows-latest
1312

1413
steps:
1514
- name: Checkout code
@@ -18,7 +17,7 @@ jobs:
1817
- name: Set up Python
1918
uses: actions/setup-python@v2
2019
with:
21-
python-version: "3.8" # Specify the Python version you need
20+
python-version: "3.10.11" # Specify the Python version you need
2221

2322
- name: Install dependencies
2423
run: |
@@ -27,5 +26,4 @@ jobs:
2726
2827
- name: Run tests
2928
run: |
30-
# You can use pytest or any other testing framework
3129
pytest

0 commit comments

Comments
 (0)