51
51
token : ${{ secrets.GITHUB_TOKEN }}
52
52
args : -p psqlpy --all-features -- -W clippy::all -W clippy::pedantic -D warnings
53
53
pytest :
54
- name : ${{matrix.job.os}}-${{matrix.py_version}}
55
- strategy :
56
- matrix :
57
- py_version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
58
- job :
59
- - os : ubuntu-latest
60
- ssl_cmd : sudo apt-get update && sudo apt-get install libssl-dev openssl
61
- runs-on : ${{matrix.job.os}}
62
- steps :
63
- - uses : actions/checkout@v1
64
- - uses : ikalnytskyi/action-setup-postgres@v4
65
- with :
66
- username : postgres
67
- password : postgres
68
- database : psqlpy_test
69
- id : postgres
70
- - uses : actions-rs/toolchain@v1
71
- with :
72
- toolchain : stable
73
- components : clippy
74
- override : true
75
- - name : Setup OpenSSL
76
- run : ${{matrix.job.ssl_cmd}}
77
- - name : Setup python for test ${{ matrix.py_version }}
78
- uses : actions/setup-python@v4
79
- with :
80
- python-version : ${{ matrix.py_version }}
81
- - name : Install tox
82
- run : pip install "tox-gh>=1.2,<2"
83
- - name : Run pytest
84
- run : tox -v -c tox.ini
85
-
86
- pytest_with_ssl_postgres :
87
54
name : ${{matrix.job.os}}-${{matrix.py_version}}
88
55
strategy :
89
56
matrix :
@@ -115,4 +82,38 @@ jobs:
115
82
- name : Install tox
116
83
run : pip install "tox-gh>=1.2,<2"
117
84
- name : Run pytest
118
- run : tox -v -c tox_ssl_mode.ini
85
+ run : tox -v -c tox.ini
86
+
87
+ # pytest_with_ssl_postgres:
88
+ # name: ${{matrix.job.os}}-${{matrix.py_version}}
89
+ # strategy:
90
+ # matrix:
91
+ # py_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
92
+ # job:
93
+ # - os: ubuntu-latest
94
+ # ssl_cmd: sudo apt-get update && sudo apt-get install libssl-dev openssl
95
+ # runs-on: ${{matrix.job.os}}
96
+ # steps:
97
+ # - uses: actions/checkout@v1
98
+ # - name: Setup Postgres
99
+ # uses: ./.github/actions/setup_postgres/
100
+ # with:
101
+ # username: postgres
102
+ # password: postgres
103
+ # database: psqlpy_test
104
+ # id: postgres
105
+ # - uses: actions-rs/toolchain@v1
106
+ # with:
107
+ # toolchain: stable
108
+ # components: clippy
109
+ # override: true
110
+ # - name: Setup OpenSSL
111
+ # run: ${{matrix.job.ssl_cmd}}
112
+ # - name: Setup python for test ${{ matrix.py_version }}
113
+ # uses: actions/setup-python@v4
114
+ # with:
115
+ # python-version: ${{ matrix.py_version }}
116
+ # - name: Install tox
117
+ # run: pip install "tox-gh>=1.2,<2"
118
+ # - name: Run pytest
119
+ # run: tox -v -c tox_ssl_mode.ini
0 commit comments