Skip to content

Commit 7bacacd

Browse files
Edit workflow file
1 parent 616d34a commit 7bacacd

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/TCGstorageAPI-build.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: TCGstorageAPI build
22

33
on:
44
push:
5-
branches:
6-
- master
75
pull_request:
86
branches:
97
- master
@@ -12,7 +10,7 @@ jobs:
1210
build:
1311
name: TCGstorageAPI_build
1412
# This job runs on Linux
15-
runs-on: ubuntu-18.04
13+
runs-on: ubuntu-22.04
1614
steps:
1715
- name: Checkout
1816
uses: actions/checkout@v2
@@ -30,14 +28,12 @@ jobs:
3028
run: |
3129
sudo apt-get install python3-setuptools
3230
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
3531
- name: Build opensea
3632
run: python3 setup.py opensea
3733
- name: Build TCGstorageAPI package
3834
run: python3 setup.py build
3935
- name: Run unit tests
4036
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/
4339
python3 TCGstorageAPI/tcgapi_test.py

0 commit comments

Comments
 (0)