File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test Latest
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ schedule :
6
+ # Weekly on Sunday
7
+ - cron : ' 0 0 * * 0'
8
+
9
+ jobs :
10
+ checks :
11
+ name : Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
12
+ runs-on : ${{ matrix.runs-on }}
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ python-version : ["3.6", "3.10"]
17
+ runs-on : [ubuntu-latest, macos-latest, windows-latest]
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - uses : actions/setup-python@v2
21
+ with :
22
+ python-version : ${{ matrix.python-version }}
23
+ - name : Install package
24
+ run : python -m pip install .[test]
25
+ - name : Configure token access
26
+ run : |
27
+ viresclient set_token "https://vires.services/ows" ${{ secrets.VIRES_TOKEN_SWARM }}
28
+ viresclient set_default_server https://vires.services/ows
29
+ - name : Test package
30
+ run : python -m pytest -ra
You can’t perform that action at this time.
0 commit comments