-
Notifications
You must be signed in to change notification settings - Fork 7
45 lines (39 loc) · 1.1 KB
/
Copy pathgithub-actions-test-simple.yml
File metadata and controls
45 lines (39 loc) · 1.1 KB
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
38
39
40
41
42
43
44
45
name: Testing Features
run-name: ${{ github.actor }} is testing feature metrics 🚀
on: [push]
jobs:
Testing-Features:
runs-on: ubuntu-latest
# defaults:
# run:
# working-directory: ./src/team_comm_tools/
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set Up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
./setup.sh
- name: Install package in editable mode
run: pip install -e .
- name: Run featurizer
run: |
cd tests
python3 run_tests.py
python3 run_package_grouping_tests.py
- name: Run tests
run: |
cd tests
pytest test_feature_metrics.py
pytest test_package.py
pytest test_drop_redundant_columns.py
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: test-log
path: ./tests/test.log
if: ${{ always() }}