Skip to content

Commit

Permalink
Fixes for github actions (#20)
Browse files Browse the repository at this point in the history
* Add wheel module installation; update python versions

* Revert order of installation of packages

* Try installing glob2

* Fix building archive
christiam authored Jul 24, 2024
1 parent f03e4a0 commit a6b1617
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-multi-pex.yml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
python-version: ["3.9"]

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

steps:

@@ -52,6 +53,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Build PEX file
run: |
pip3 install wheel glob2
pip3 install -r requirements/test.txt
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 }}
./elastic-blast${{ matrix.python-version }} --version
@@ -78,9 +80,9 @@ jobs:
- name: Create tarball
run: |
tar axvf elastic-blast-no-suffix/elastic-blast-no-suffix.tar.gz
tar axvf elastic-blast-3.8/elastic-blast3.8.tar.gz
tar axvf elastic-blast-3.9/elastic-blast3.9.tar.gz
tar axvf elastic-blast-3.10/elastic-blast3.10.tar.gz
tar axvf elastic-blast-3.11/elastic-blast3.11.tar.gz
rm -fvr elastic-blast-*.tar.gz
tar -czvf ~/elastic-blast.tar.gz elastic-blast elastic-blast*md5 elastic-blast3.*
- name: 'Upload Artifact'

0 comments on commit a6b1617

Please sign in to comment.