Skip to content

Commit a588766

Browse files
committed
Try fixing Ubuntu workflows CI
1 parent c2f1c19 commit a588766

File tree

1 file changed

+28
-10
lines changed

1 file changed

+28
-10
lines changed

.github/workflows/ubuntu.yml

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,45 @@ name: decompyle3 (ubuntu)
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ master, python-3.7-to-3.10 ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ master, python-3.7-to-3.10 ]
88

99
jobs:
10-
build:
10+
build-master:
11+
if: github.ref == 'refs/heads/master'
1112
runs-on: ubuntu-latest
12-
strategy:
13-
matrix:
14-
python-version: ['3.8']
1513
steps:
1614
- uses: actions/checkout@v4
17-
- name: Set up Python ${{ matrix.python-version }}
15+
with:
16+
ref: master
17+
- name: Set up Python 3.13
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: 3.13
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install -e .
25+
pip install -r requirements-dev.txt
26+
- name: Test decompyle3
27+
run: |
28+
make check
29+
30+
build-3.7-to-3.10:
31+
if: github.ref == 'refs/heads/python-3.7-to-3.10'
32+
runs-on: ubuntu-latest
33+
steps:
34+
- uses: actions/checkout@v4
35+
with:
36+
ref: python-3.7-to-3.10
37+
- name: Set up Python 3.8
1838
uses: actions/setup-python@v5
1939
with:
20-
python-version: ${{ matrix.python-version }}
40+
python-version: 3.8
2141
- name: Install dependencies
2242
run: |
2343
python -m pip install --upgrade pip
24-
# Until the next xdis release
25-
# pip install git+https://github.com/rocky/python-xdis#egg=xdis
2644
pip install -e .
2745
pip install -r requirements-dev.txt
2846
- name: Test decompyle3

0 commit comments

Comments
 (0)