winglian's picture
cache pip
72b6ca0
raw
history blame
517 Bytes
name: PyTest
on: push
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.9"
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
pip install -e .
pip install pytest
- name: Run tests
run: |
pytest tests/