-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (27 loc) · 859 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Main CI workflow
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [push]
jobs:
Dummy-job:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was triggered by a ${{ github.event_name }} event."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
Run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Python version
run: python --version
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
- name: Run Tests
run: |
pytest tests/base_tests.py
pytest tests/model_tests.py
# pytest -q tests/trainer_tests.py