Skip to content

Commit c822aa5

Browse files
committed
Create ci.yml
1 parent aa12117 commit c822aa5

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 🍴 NX-API TEST
2+
3+
on:
4+
push:
5+
branches: ["master", "staging"]
6+
pull_request:
7+
branches: ["master", "staging"]
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: 🍔 Checkout code
13+
uses: actions/checkout@v4
14+
- name: 🐍 Set up Python
15+
uses: actions/setup-python@v5
16+
with:
17+
python-version: '3.10'
18+
- name: 📦 Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install -r requirements.txt
22+
- name: 🧪 Run tests
23+
run: |
24+
python -m unittest discover -s tests

0 commit comments

Comments
 (0)