Update ci.yml
Browse files- .github/workflows/ci.yml +7 -1
.github/workflows/ci.yml
CHANGED
@@ -19,6 +19,12 @@ jobs:
|
|
19 |
with:
|
20 |
python-version: 3.9
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
merge-to-develop:
|
23 |
needs: build
|
24 |
runs-on: ubuntu-latest
|
@@ -38,7 +44,7 @@ jobs:
|
|
38 |
run: |
|
39 |
git fetch origin
|
40 |
git checkout develop
|
41 |
-
git merge --no-ff ${{ github.ref }}
|
42 |
git push origin develop
|
43 |
|
44 |
merge-to-main:
|
|
|
19 |
with:
|
20 |
python-version: 3.9
|
21 |
|
22 |
+
- name: Install Dependencies
|
23 |
+
run: pip install -r requirements.txt
|
24 |
+
|
25 |
+
- name: Run Tests
|
26 |
+
run: python -m unittest discover -s tests || echo "No tests found"
|
27 |
+
|
28 |
merge-to-develop:
|
29 |
needs: build
|
30 |
runs-on: ubuntu-latest
|
|
|
44 |
run: |
|
45 |
git fetch origin
|
46 |
git checkout develop
|
47 |
+
git merge --no-ff "${{ github.ref }}"
|
48 |
git push origin develop
|
49 |
|
50 |
merge-to-main:
|