File tree Expand file tree Collapse file tree 1 file changed +22
-11
lines changed Expand file tree Collapse file tree 1 file changed +22
-11
lines changed Original file line number Diff line number Diff line change 57
57
toxenv : py38-test
58
58
toxargs : -v
59
59
60
- - name : Python 3.8 with all dependencies with remote data
61
- if : github.event_name == 'schedule' && github.repository == 'astropy/astroquery'
62
- os : ubuntu-latest
63
- python : 3.8
64
- toxenv : py38-test-alldeps
65
- toxargs : -v
66
- toxposargs : --remote-data
67
-
68
60
steps :
69
61
- name : Checkout code
70
62
uses : actions/checkout@v2
75
67
with :
76
68
python-version : ${{ matrix.python }}
77
69
- name : Install Python dependencies
78
- run : |
79
- python -m pip install --upgrade pip
80
- python -m pip install --upgrade tox
70
+ run : python -m pip install --upgrade tox
81
71
- name : Run tests
82
72
run : tox ${{ matrix.toxargs }} -e ${{ matrix.toxenv }} -- ${{ matrix.toxposargs }}
83
73
- name : Upload coverage to codecov
86
76
with :
87
77
file : ./coverage.xml
88
78
79
+ # This needs to be outside of matrix because if is not supported
80
+ # for only one job in a matrix. But once that is supported, this can go
81
+ # back to the matrix above.
82
+ remote_data :
83
+ name : Python 3.8 with all dependencies with remote data
84
+ if : github.event_name == 'schedule' && github.repository == 'astropy/astroquery'
85
+ runs-on : ubuntu-latest
86
+ steps :
87
+ - name : Checkout code
88
+ uses : actions/checkout@v2
89
+ with :
90
+ fetch-depth : 0
91
+ - name : Set up Python
92
+ uses : actions/setup-python@v2
93
+ with :
94
+ python-version : ' 3.8'
95
+ - name : Install Python dependencies
96
+ run : python -m pip install --upgrade tox
97
+ - name : Run tests
98
+ run : tox -v -e py38-test-alldeps -- --remote-data
99
+
89
100
egg_info :
90
101
name : egg_info with Python 3.7
91
102
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments