-
Notifications
You must be signed in to change notification settings - Fork 3
57 lines (39 loc) · 1.54 KB
/
pip_install_tests_3_7.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Test pip install on Python 3.7
on: [push, pull_request]
jobs:
install-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install pykotor
run: pip install . --verbose
- name: Test pykotor installation
run: python -c "import pykotor"
- name: Uninstall pykotor
run: pip uninstall pykotor -y --verbose
- name: Cleanup build
run: rm -rvf ./build
- name: Install toolkit
run: pip install -r ./toolkit/requirements.txt
- name: Test pykotor installation
run: python -c "import pykotor"
- name: Test pykotor toolkit dep
run: python -c "import toolset"
- name: Uninstall pykotor
run: pip uninstall pykotor -y --verbose
- name: Cleanup build
run: rm -rvf ./build
- name: Purge pip cache
run: pip cache purge
- name: Test holopatcher
run: timeout 10 python -m scripts.holopatcher --install || if [ $? -eq 124 ]; then echo "Initialization check passed"; else exit 1; fi
- name: Install k_batchpatcher
run: pip install -r ./scripts/k_batchpatcher/requirements.txt
- name: Test pykotor k_batchpatcher
run: timeout 10 python -m scripts.k_batchpatcher || if [ $? -eq 124 ]; then echo "Initialization check passed"; else exit 1; fi
- name: Test pykotor kotordiff
run: timeout 10 python -m scripts.kotordiff || if [ $? -eq 124 ]; then echo "Initialization check passed"; else exit 1; fi