We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67eb9c5 commit ca3ed6aCopy full SHA for ca3ed6a
.github/workflows/tests.yaml
@@ -15,18 +15,29 @@ jobs:
15
run: |
16
sudo systemctl start mysql.service
17
mysql -uroot -proot -e "CREATE DATABASE mysqldb_test"
18
+
19
+ - uses: actions/cache@v2
20
+ with:
21
+ path: ~/.cache/pip
22
+ key: ${{ runner.os }}-pip-1
23
+ restore-keys: |
24
+ ${{ runner.os }}-pip-
25
26
- uses: actions/checkout@v2
27
with:
28
fetch-depth: 2
29
30
- name: Set up Python ${{ matrix.python-version }}
31
uses: actions/setup-python@v2
32
33
python-version: ${{ matrix.python-version }}
34
35
- name: Run tests
36
env:
37
TESTDB: actions.cnf
38
39
pip install -U coverage pytest pytest-cov
40
pip install .
41
pytest --cov=MySQLdb tests
42
43
- uses: codecov/codecov-action@v1
0 commit comments