77name : Weekly Tests
88
99on :
10- push :
11- branches : ['gha-fix']
1210 schedule :
1311 # At 00:00 on Monday
1412 - cron : " 03 14 * * FRI"
7068 with :
7169 python-version : ${{ matrix.python-version }}
7270
71+ - name : Install dependencies
72+ run : |
73+ python -m pip install --upgrade pip
74+ python -m pip install -upgrade 'vetiver[all]'
75+ python -m pip install --upgrade git+https://github.com/rstudio/pins-python
76+
7377 - name : run RStudio Connect
7478 run : |
7579 docker-compose up --build -d
7882 RSC_LICENSE : ${{ secrets.RSC_LICENSE }}
7983 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
8084
81- - name : Install dependencies
82- run : |
83- python -m pip install --upgrade pip
84- python -m pip install -upgrade 'vetiver[all]'
85- python -m pip install --upgrade git+https://github.com/rstudio/pins-python
86-
8785 - name : Run Tests
8886 run : |
8987 pytest
@@ -104,6 +102,12 @@ jobs:
104102 with :
105103 python-version : ${{ matrix.python-version }}
106104
105+ - name : Install dependencies
106+ run : |
107+ python -m pip install --upgrade pip
108+ python -m pip install --upgrade 'vetiver[all]'
109+ python -m pip install --upgrade git+https://github.com/rstudio/rsconnect-python
110+
107111 - name : run RStudio Connect
108112 run : |
109113 docker-compose up --build -d
@@ -112,16 +116,10 @@ jobs:
112116 RSC_LICENSE : ${{ secrets.RSC_LICENSE }}
113117 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
114118
115- - name : Install dependencies
116- run : |
117- python -m pip install --upgrade pip
118- python -m pip install --upgrade 'vetiver[all]'
119- python -m pip install --upgrade git+https://github.com/rstudio/rsconnect-python
120-
121119 - name : Run Tests
122120 run : |
123121 pytest
124-
122+
125123 vetiver_latest_rsconnect_latest :
126124 name : ' vetiver latest, rsconnect latest'
127125 runs-on : ubuntu-latest
@@ -138,6 +136,12 @@ jobs:
138136 with :
139137 python-version : ${{ matrix.python-version }}
140138
139+ - name : Install dependencies
140+ run : |
141+ python -m pip install --upgrade pip
142+ python -m pip install '.[all]'
143+ python -m pip install --upgrade git+https://github.com/rstudio/rsconnect-python
144+
141145 - name : run RStudio Connect
142146 run : |
143147 docker-compose up --build -d
@@ -146,12 +150,6 @@ jobs:
146150 RSC_LICENSE : ${{ secrets.RSC_LICENSE }}
147151 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
148152
149- - name : Install dependencies
150- run : |
151- python -m pip install --upgrade pip
152- python -m pip install '.[all]'
153- python -m pip install --upgrade git+https://github.com/rstudio/rsconnect-python
154-
155153 - name : Run Tests
156154 run : |
157155 pytest
0 commit comments