File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed
Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,17 @@ name: tests/python
22
33on :
44 push :
5- branches : [ v5.2 ]
5+ branches : [v5.2]
66 pull_request :
7- branches : [ v5.2 ]
7+ branches : [v5.2]
88 schedule :
9- - cron : ' 0 10 * * 6'
10-
9+ - cron : ' 0 10 * * *'
10+ workflow_dispatch :
11+ inputs :
12+ ravendb_version :
13+ description : ' RavenDB Version'
14+ required : true
15+ type : string
1116
1217jobs :
1318 build :
@@ -25,13 +30,13 @@ jobs:
2530 strategy :
2631 matrix :
2732 python-version : [ '3.7', '3.8', '3.9' , '3.10']
28- serverVersion : [ "5.2", "5.3 ", "5.4 " ]
33+ serverVersion : [ "5.2", "5.4 ", "6.0 " ]
2934 fail-fast : false
3035
3136 steps :
3237 - uses : actions/checkout@v2
3338
34- - name : Use Python ${{ matrix.node -version }}
39+ - name : Use Python ${{ matrix.python -version }}
3540 uses : actions/setup-python@v2
3641 with :
3742 python-version : ${{ matrix.python-version }}
4045 run : python -c "import sys; print(sys.version)"
4146
4247 - name : Download RavenDB Server
43- run : wget -q -O RavenDB.tar.bz2 "https://hibernatingrhinos.com/downloads/RavenDB%20for%20Linux%20x64/latest?buildType=${{ env.RAVENDB_BUILD_TYPE }}&version=${{ matrix.serverVersion }}"
48+ run : |
49+ if [[ -n "${{ inputs.ravendb_version }}" ]]; then
50+ wget -O RavenDB.tar.bz2 "https://daily-builds.s3.amazonaws.com/RavenDB-${{ inputs.ravendb_version }}-linux-x64.tar.bz2"
51+ else
52+ wget -O RavenDB.tar.bz2 "https://hibernatingrhinos.com/downloads/RavenDB%20for%20Linux%20x64/latest?buildType=${{ env.RAVENDB_BUILD_TYPE }}&version=${{ matrix.serverVersion }}"
53+ fi
4454
4555 - run : mkdir certs
4656 - run : openssl genrsa -out certs/ca.key 2048
You can’t perform that action at this time.
0 commit comments