Skip to content

Commit de303f9

Browse files
committed
update: test.yml
1 parent 9d50494 commit de303f9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
11-
os: [ubuntu-latest]
11+
os: [ubuntu-latest, macOS-latest]
1212
python-version: ['3.8', '3.9', '3.10']
1313

1414
steps:
@@ -17,6 +17,8 @@ jobs:
1717
uses: actions/setup-python@v2
1818
with:
1919
python-version: ${{ matrix.python-version }}
20+
- name: Python version
21+
run: python -c "import sys; print(sys.version)"
2022

2123
# Install pipenv
2224
- name: Install pipenv
@@ -32,16 +34,16 @@ jobs:
3234
id: cache-dependencies
3335
with:
3436
path: ./.venv
35-
key: ${{ matrix.os }}-${{ matrix.python-version }}-pipenv-${{ hashFiles('**/Pipfile.lock') }}
37+
key: ${{ matrix.os }}-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('**/Pipfile.lock') }}
3638
restore-keys: |
3739
${{ matrix.os }}-pipenv
3840
3941
# install dependencies
4042
- name: Install dependencies
4143
if: steps.cache-dependencies.outputs.cache-hit != 'true'
4244
run: |
43-
touch Pipfile
4445
pipenv install --dev --verbose
46+
pipenv install types-request --dev
4547
4648
# Run tests
4749
# - name: Test

0 commit comments

Comments
 (0)