File tree Expand file tree Collapse file tree 4 files changed +59
-18
lines changed Expand file tree Collapse file tree 4 files changed +59
-18
lines changed Original file line number Diff line number Diff line change 1- name : Simvue- CLI (macOS)
1+ name : CLI Nightlies (macOS)
22on :
3- push :
4- branches : ["main", "dev"]
5- pull_request :
6- branches : ["main", "dev"]
73 workflow_dispatch :
4+ schedule :
5+ - cron : ' 45 22 * * *'
86
97permissions :
108 contents : read
@@ -28,10 +26,13 @@ jobs:
2826 - name : Install Dependencies
2927 run : |
3028 python -m pip install poetry
31- poetry install --all-extras
29+ poetry self add poetry-plugin-export
30+ poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
31+ python -m pip install -r requirements.txt
32+ python -m pip install .
3233 - name : Run Tests
3334 env :
3435 SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
3536 SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
3637 run : |
37- poetry run pytest -x --cov=simvue_cli --cov-report=term --cov-report=xml -c /dev/null -p no:warnings -v
38+ python -m pytest -x --cov=simvue_cli --cov-report=term --cov-report=xml -c /dev/null -p no:warnings -v
Original file line number Diff line number Diff line change 11name : Simvue-CLI (Ubuntu)
22on :
3- push :
4- branches : ["main", "dev"]
53 pull_request :
64 branches : ["main", "dev"]
75 workflow_dispatch :
@@ -28,10 +26,13 @@ jobs:
2826 - name : Install Dependencies
2927 run : |
3028 python -m pip install poetry
31- poetry install --all-extras
29+ poetry self add poetry-plugin-export
30+ poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
31+ python -m pip install -r requirements.txt
32+ python -m pip install .
3233 - name : Run Tests
3334 env :
3435 SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
3536 SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
3637 run : |
37- poetry run pytest -x --cov=simvue_cli --cov-report=term --cov-report=xml -c /dev/null -p no:warnings -v
38+ python -m pytest -x --cov=simvue_cli --cov-report=term --cov-report=xml -c /dev/null -p no:warnings -v
Original file line number Diff line number Diff line change 1+ name : CLI Nightlies (Ubuntu)
2+ on :
3+ workflow_dispatch :
4+ schedule :
5+ - cron : ' 0 22 * * *'
6+
7+ permissions :
8+ contents : read
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
13+
14+ jobs :
15+ test_build :
16+ name : Test CLI
17+ timeout-minutes : 20
18+ runs-on : ["ubuntu-latest"]
19+ steps :
20+ - name : Retrieve Code
21+ uses : actions/checkout@v4
22+ - name : Setup Python
23+ uses : actions/setup-python@v5
24+ with :
25+ python-version : ' 3.x'
26+ - name : Install Dependencies
27+ run : |
28+ python -m pip install poetry
29+ poetry self add poetry-plugin-export
30+ poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
31+ python -m pip install -r requirements.txt
32+ python -m pip install .
33+ - name : Run Tests
34+ env :
35+ SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
36+ SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
37+ run : |
38+ python -m pytest -x --cov=simvue_cli --cov-report=term --cov-report=xml -c /dev/null -p no:warnings -v
Original file line number Diff line number Diff line change 1- name : Simvue- CLI (Windows)
1+ name : CLI Nightlies (Windows)
22on :
3- push :
4- branches : ["main", "dev"]
5- pull_request :
6- branches : ["main", "dev"]
73 workflow_dispatch :
4+ schedule :
5+ - cron : ' 30 22 * * *'
86
97permissions :
108 contents : read
@@ -28,10 +26,13 @@ jobs:
2826 - name : Install Dependencies
2927 run : |
3028 python -m pip install poetry
31- poetry install --all-extras
29+ poetry self add poetry-plugin-export
30+ poetry export -f requirements.txt --with dev -o requirements.txt --all-extras
31+ python -m pip install -r requirements.txt
32+ python -m pip install .
3233 - name : Run Tests
3334 env :
3435 SIMVUE_URL : ${{ secrets.SIMVUE_URL }}
3536 SIMVUE_TOKEN : ${{ secrets.SIMVUE_TOKEN }}
3637 run : |
37- poetry run pytest -x --cov=simvue_cli --cov-report=term --cov-report=xml -c /dev/null -p no:warnings -v
38+ python -m pytest -x --cov=simvue_cli --cov-report=term --cov-report=xml -c /dev/null -p no:warnings -v
You can’t perform that action at this time.
0 commit comments