-
Notifications
You must be signed in to change notification settings - Fork 11
37 lines (36 loc) · 1.2 KB
/
test.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
30
31
32
33
34
35
36
37
name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
release:
types:
- created
jobs:
test:
name: Test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7.15
uses: actions/setup-python@v4
with:
python-version: 3.7.15
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install "setuptools>=62.0.0"
python -m pip install "wheel>=0.37.1"
python -m pip install .[preprocessing]
python -m pip install -r requirements-dev.txt
- name: Test
run: |
python -m pytest tests/test_get_dataloaders.py
python -m pytest tests/test_metadata_utils.py
python -m pytest tests/test_preprocessing_utils.py
python -m pytest tests/preprocessing_tools
python -m pytest tests/test_website_post_processor.py
python -m pytest tests/test_parse_date.py