Files
axolotl/.github/workflows/tests.yml
Wing Lian 72b6ca0d9f cache pip
2023-05-27 12:16:54 -04:00

27 lines
517 B
YAML

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/