KLEB38 commited on
Commit
1a6c76f
·
1 Parent(s): 64fc6eb

creation of yaml file

Browse files
Files changed (1) hide show
  1. tests/CI_CD.yml +38 -0
tests/CI_CD.yml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Python Installation Check
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches: [ main ]
8
+
9
+ jobs:
10
+
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v6
15
+
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v6
18
+ with:
19
+ python-version: '3.13.5'
20
+ cache: 'pip'
21
+
22
+ - name: Install dependencies
23
+ run: |
24
+ python -m pip install --upgrade pip
25
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
26
+ deploy:
27
+ needs: build
28
+ runs-on: ubuntu-latest
29
+ steps:
30
+ - uses: actions/checkout@v6
31
+ with:
32
+ fetch-depth: 0
33
+ lfs: true
34
+
35
+ - name: Push to Hub
36
+ env:
37
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
38
+ run: git push --force https://KLEB38:$HF_TOKEN@huggingface.co/KLEB38/OC_P5 main