Skip to content

Commit 20c4846

Browse files
committed
Added CI
1 parent a7dbfc3 commit 20c4846

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/test_cli.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Simvue-CLI
2+
on: ["push"]
3+
jobs:
4+
test_build:
5+
name: Test CLI
6+
runs-on: ["ubuntu-latest"]
7+
steps:
8+
- name: Retrieve Code
9+
uses: actions/checkout@v4
10+
- name: Setup Python
11+
uses: actions/setup-python@v5
12+
with:
13+
python-version: '3.x'
14+
- name: Install Poetry
15+
run: pip install poetry
16+
- name: Run Tests
17+
run: |
18+
export SIMVUE_URL=${{ secrets.SIMVUE_URL }}
19+
export SIMVUE_TOKEN=${{ secrets.SIMVUE_TOKEN }}
20+
poetry install
21+
poetry run pytest -x --cov=simvue_cli --cov-report=term
22+

0 commit comments

Comments
 (0)