Skip to content

Commit 26999af

Browse files
authored
Merge pull request #105 from Tanzania-AI-Community/release/v0.1.1
Release/v0.1.1
2 parents a17f1bf + 29ed061 commit 26999af

22 files changed

+1091
-637
lines changed

.all-contributorsrc

+15-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@
7979
"profile": "https://github.com/alvaro-mazcu",
8080
"contributions": [
8181
"code",
82-
"doc"
82+
"doc",
83+
"test"
8384
]
8485
},
8586
{
@@ -90,6 +91,19 @@
9091
"contributions": [
9192
"code"
9293
]
94+
},
95+
{
96+
"login": "iamrobzy",
97+
"name": "Robert",
98+
"avatar_url": "https://avatars.githubusercontent.com/u/60611384?v=4",
99+
"profile": "https://iamrobzy.github.io/",
100+
"contributions": [
101+
"code",
102+
"ideas",
103+
"mentoring",
104+
"projectManagement",
105+
"question"
106+
]
93107
}
94108
]
95109
}

.github/workflows/ci-cd.yml

+30-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,36 @@ jobs:
2121
secrets:
2222
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY}}
2323

24-
deploy-dev:
24+
tests:
2525
needs: [pre-commit, gitguardian]
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout code
29+
uses: actions/checkout@v3
30+
31+
- name: Set up Python
32+
uses: actions/setup-python@v4
33+
with:
34+
python-version: "3.12"
35+
36+
- name: Install dependencies
37+
run: |
38+
pip install -e .
39+
pip install --no-cache-dir pytest pytest-asyncio
40+
41+
- name: Run tests
42+
env:
43+
META_API_VERSION: ${{ secrets.META_API_VERSION }}
44+
META_APP_ID: ${{ secrets.META_APP_ID }}
45+
META_APP_SECRET: ${{ secrets.META_APP_SECRET }}
46+
WHATSAPP_CLOUD_NUMBER_ID: ${{ secrets.WHATSAPP_CLOUD_NUMBER_ID }}
47+
WHATSAPP_VERIFY_TOKEN: ${{ secrets.WHATSAPP_VERIFY_TOKEN }}
48+
WHATSAPP_API_TOKEN: ${{ secrets.WHATSAPP_API_TOKEN }}
49+
DATABASE_URL: ${{ secrets.DATABASE_URL }}
50+
run: PYTHONPATH=. pytest -v tests/
51+
52+
deploy-dev:
53+
needs: [tests]
2654
if: github.ref == 'refs/heads/development' && github.event_name == 'push' && github.repository == 'Tanzania-AI-Community/twiga'
2755
runs-on: ubuntu-latest
2856
environment: development
@@ -34,7 +62,7 @@ jobs:
3462
curl "$deploy_url"
3563
3664
deploy-prod:
37-
needs: [pre-commit, gitguardian]
65+
needs: [tests]
3866
if: github.ref == 'refs/heads/main' && github.event_name == 'push' && github.repository == 'Tanzania-AI-Community/twiga'
3967
runs-on: ubuntu-latest
4068
environment: production

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ cython_debug/
166166
##################### New Additions #####################
167167
# Ignore DS_Store files
168168
.DS_Store
169+
.vscode/
169170

170171
# ignore .pem files
171172
*.pem

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Here are a couple of screenshots. Alternatively, you can take a look at our brie
5050

5151
## 🤝 Get involved
5252

53-
We encourage you to contribute to Twiga! There is plenty of documentation describing the current [architecture](https://github.com/Tanzania-AI-Community/twiga/blob/main/docs/en/ARCHITECTURE.md) of Twiga, how to [contribute](https://github.com/Tanzania-AI-Community/twiga/blob/main/docs/en/CONTRIBUTING.md), and how to [get started](https://github.com/Tanzania-AI-Community/twiga/blob/documentation/docs/en/GETTING_STARTED.md) in the `docs/` folder.
53+
We encourage you to contribute to Twiga! There is plenty of documentation describing the current [architecture](https://github.com/Tanzania-AI-Community/twiga/blob/main/docs/en/ARCHITECTURE.md) of Twiga, how to [contribute](https://github.com/Tanzania-AI-Community/twiga/blob/main/docs/en/CONTRIBUTING.md), and how to [get started](https://github.com/Tanzania-AI-Community/twiga/blob/main/docs/en/GETTING_STARTED.md) in the `docs/` folder.
5454

5555
For further support you can join our [Discord](https://discord.gg/bCe2HfZY2C) to discuss directly with the community and stay up to date on what's happening, or you can contact us more formally using GitHub [Discussions](https://github.com/Tanzania-AI-Community/twiga/discussions).
5656

@@ -66,8 +66,9 @@ Thank you to all the people that have contributed to Twiga so far!
6666
<td align="center" valign="top" width="14.28%"><a href="https://github.com/EssaMohamedali"><img src="https://avatars.githubusercontent.com/u/50261366?v=4?s=100" width="100px;" alt="EssaMohamedali"/><br /><sub><b>EssaMohamedali</b></sub></a><br /><a href="#business-EssaMohamedali" title="Business development">💼</a> <a href="#content-EssaMohamedali" title="Content">🖋</a> <a href="#eventOrganizing-EssaMohamedali" title="Event Organizing">📋</a> <a href="#financial-EssaMohamedali" title="Financial">💵</a> <a href="#fundingFinding-EssaMohamedali" title="Funding Finding">🔍</a> <a href="#ideas-EssaMohamedali" title="Ideas, Planning, & Feedback">🤔</a> <a href="#projectManagement-EssaMohamedali" title="Project Management">📆</a> <a href="#promotion-EssaMohamedali" title="Promotion">📣</a> <a href="#talk-EssaMohamedali" title="Talks">📢</a></td>
6767
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Annagrace1704"><img src="https://avatars.githubusercontent.com/u/180529411?v=4?s=100" width="100px;" alt="Annagrace1704"/><br /><sub><b>Annagrace1704</b></sub></a><br /><a href="#content-Annagrace1704" title="Content">🖋</a> <a href="#design-Annagrace1704" title="Design">🎨</a> <a href="#promotion-Annagrace1704" title="Promotion">📣</a></td>
6868
<td align="center" valign="top" width="14.28%"><a href="https://book.fredygerman.com"><img src="https://avatars.githubusercontent.com/u/26197540?v=4?s=100" width="100px;" alt="Fredy Mgimba"/><br /><sub><b>Fredy Mgimba</b></sub></a><br /><a href="#code-fredygerman" title="Code">💻</a> <a href="#infra-fredygerman" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
69-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/alvaro-mazcu"><img src="https://avatars.githubusercontent.com/u/102028776?v=4?s=100" width="100px;" alt="Álvaro Mazcuñán Herreros"/><br /><sub><b>Álvaro Mazcuñán Herreros</b></sub></a><br /><a href="#code-alvaro-mazcu" title="Code">💻</a> <a href="#doc-alvaro-mazcu" title="Documentation">📖</a></td>
69+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/alvaro-mazcu"><img src="https://avatars.githubusercontent.com/u/102028776?v=4?s=100" width="100px;" alt="Álvaro Mazcuñán Herreros"/><br /><sub><b>Álvaro Mazcuñán Herreros</b></sub></a><br /><a href="#code-alvaro-mazcu" title="Code">💻</a> <a href="#doc-alvaro-mazcu" title="Documentation">📖</a> <a href="#test-alvaro-mazcu" title="Tests">⚠️</a></td>
7070
<td align="center" valign="top" width="14.28%"><a href="https://github.com/wjunwei2001"><img src="https://avatars.githubusercontent.com/u/109643278?v=4?s=100" width="100px;" alt="Wang Junwei"/><br /><sub><b>Wang Junwei</b></sub></a><br /><a href="#code-wjunwei2001" title="Code">💻</a></td>
71+
<td align="center" valign="top" width="14.28%"><a href="https://iamrobzy.github.io/"><img src="https://avatars.githubusercontent.com/u/60611384?v=4?s=100" width="100px;" alt="Robert"/><br /><sub><b>Robert</b></sub></a><br /><a href="#code-iamrobzy" title="Code">💻</a> <a href="#ideas-iamrobzy" title="Ideas, Planning, & Feedback">🤔</a> <a href="#mentoring-iamrobzy" title="Mentoring">🧑‍🏫</a> <a href="#projectManagement-iamrobzy" title="Project Management">📆</a> <a href="#question-iamrobzy" title="Answering Questions">💬</a></td>
7172
</tr>
7273
</tbody>
7374
</table>

app/assets/flows/class_subject_info_flow.json

-227
This file was deleted.

0 commit comments

Comments
 (0)