File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ name: TCGstorageAPI build
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - master
7
5
pull_request :
8
6
branches :
9
7
- master
12
10
build :
13
11
name : TCGstorageAPI_build
14
12
# This job runs on Linux
15
- runs-on : ubuntu-18 .04
13
+ runs-on : ubuntu-22 .04
16
14
steps :
17
15
- name : Checkout
18
16
uses : actions/checkout@v2
@@ -30,14 +28,12 @@ jobs:
30
28
run : |
31
29
sudo apt-get install python3-setuptools
32
30
pip3 install --no-cache-dir -r requirements.txt
33
- - name : Link gmake to make
34
- run : sudo ln -s /usr/bin/make /usr/bin/gmake
35
31
- name : Build opensea
36
32
run : python3 setup.py opensea
37
33
- name : Build TCGstorageAPI package
38
34
run : python3 setup.py build
39
35
- name : Run unit tests
40
36
run : |
41
- sudo cp -R build/lib.linux-x86_64-3.6 /TCGstorageAPI /home/runner/work/TCGstorageAPI/TCGstorageAPI
42
- export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python3.6/site -packages/
37
+ sudo cp -R build/lib.linux-x86_64-3.10 /TCGstorageAPI /home/runner/work/TCGstorageAPI/TCGstorageAPI
38
+ export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python3.10/dist -packages/
43
39
python3 TCGstorageAPI/tcgapi_test.py
You can’t perform that action at this time.
0 commit comments