linkding/.github/workflows/main.yaml

25 lines
573 B
YAML
Raw Normal View History

2021-01-02 10:50:16 +00:00
name: linkding CI
on: [push]
jobs:
run_tests:
name: Run Django Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: 14
- name: Install Python dependencies
2021-01-02 10:50:16 +00:00
run: pip install -r requirements.txt
- name: Install Node dependencies
run: npm install
2021-01-02 10:50:16 +00:00
- name: Run tests
run: python manage.py test