Skip to content

Commit a6b1617

Browse files
authored
Fixes for github actions (#20)
* Add wheel module installation; update python versions * Revert order of installation of packages * Try installing glob2 * Fix building archive
1 parent f03e4a0 commit a6b1617

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build-multi-pex.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ["3.8"]
10+
python-version: ["3.9"]
1111

1212
steps:
1313
- name: Checkout
@@ -20,6 +20,7 @@ jobs:
2020
python-version: ${{ matrix.python-version }}
2121
- name: Build PEX file
2222
run: |
23+
pip3 install wheel glob2
2324
pip3 install -r requirements/test.txt
2425
pex --python-shebang='/usr/bin/env python3' --disable-cache . -r requirements/base.txt --python=python${{ matrix.python-version }} -c elastic-blast -o elastic-blast
2526
./elastic-blast --version
@@ -38,7 +39,7 @@ jobs:
3839
runs-on: ubuntu-latest
3940
strategy:
4041
matrix:
41-
python-version: ["3.8", "3.9", "3.10"]
42+
python-version: ["3.9", "3.10", "3.11"]
4243

4344
steps:
4445

@@ -52,6 +53,7 @@ jobs:
5253
python-version: ${{ matrix.python-version }}
5354
- name: Build PEX file
5455
run: |
56+
pip3 install wheel glob2
5557
pip3 install -r requirements/test.txt
5658
pex --python-shebang='/usr/bin/env python3' --disable-cache . -r requirements/base.txt --python=python${{ matrix.python-version }} -c elastic-blast -o elastic-blast${{ matrix.python-version }}
5759
./elastic-blast${{ matrix.python-version }} --version
@@ -78,9 +80,9 @@ jobs:
7880
- name: Create tarball
7981
run: |
8082
tar axvf elastic-blast-no-suffix/elastic-blast-no-suffix.tar.gz
81-
tar axvf elastic-blast-3.8/elastic-blast3.8.tar.gz
8283
tar axvf elastic-blast-3.9/elastic-blast3.9.tar.gz
8384
tar axvf elastic-blast-3.10/elastic-blast3.10.tar.gz
85+
tar axvf elastic-blast-3.11/elastic-blast3.11.tar.gz
8486
rm -fvr elastic-blast-*.tar.gz
8587
tar -czvf ~/elastic-blast.tar.gz elastic-blast elastic-blast*md5 elastic-blast3.*
8688
- name: 'Upload Artifact'

0 commit comments

Comments
 (0)