Skip to content

Commit fea51a5

Browse files
authored
Merge pull request #142 from rstudio/update-weekly
Update weekly tests: only run necessary tests
2 parents a060e87 + e31ad9f commit fea51a5

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/weekly.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ jobs:
4545

4646
- name: Run tests
4747
run: |
48-
pytest
49-
50-
- name: Upload coverage
51-
uses: codecov/codecov-action@v2
48+
make test
5249
5350
vetiver_pypi_pins_main:
5451
name: 'vetiver pypi, pins main'
@@ -95,7 +92,7 @@ jobs:
9592

9693
- name: Run Tests
9794
run: |
98-
pytest
95+
make test
9996
10097
vetiver_pypi_rsconnect_latest:
10198
name: 'vetiver pypi, rsconnect latest'
@@ -130,6 +127,7 @@ jobs:
130127
python -m pip install --upgrade pip
131128
python -m pip install .[dev]
132129
python -m pip install --upgrade git+https://github.com/rstudio/rsconnect-python
130+
pip freeze > requirements.txt
133131
134132
- name: run RStudio Connect
135133
run: |
@@ -141,7 +139,7 @@ jobs:
141139

142140
- name: Run Tests
143141
run: |
144-
pytest
142+
pytest -m 'rsc_test'
145143
146144
vetiver_latest_rsconnect_latest:
147145
name: 'vetiver latest, rsconnect latest'
@@ -164,6 +162,7 @@ jobs:
164162
python -m pip install --upgrade pip
165163
python -m pip install '.[all]'
166164
python -m pip install --upgrade git+https://github.com/rstudio/rsconnect-python
165+
pip freeze > requirements.txt
167166
168167
- name: run RStudio Connect
169168
run: |
@@ -175,4 +174,4 @@ jobs:
175174

176175
- name: Run Tests
177176
run: |
178-
pytest
177+
pytest -m 'rsc_test'

0 commit comments

Comments
 (0)