Skip to content

Commit 6ad0b06

Browse files
author
Tatjana Damnjanović
committed
Update GH runner to ubuntu-22.04
1 parent 69ef0f7 commit 6ad0b06

1 file changed

Lines changed: 3 additions & 35 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ on: [push]
55

66
jobs:
77
build:
8-
runs-on: ubuntu-24.04
8+
runs-on: ubuntu-22.04
99
strategy:
1010
matrix:
11-
python-version: [3.6, 3.7, 3.8, '3.10', '3.11', '3.12', pypy2, pypy3]
11+
python-version: [3.8, '3.10', '3.11', '3.12', pypy3]
1212
env:
1313
SOLVEBIO_API_HOST: ${{ secrets.QUARTZBIO_API_HOST }}
1414
SOLVEBIO_API_KEY: ${{ secrets.QUARTZBIO_API_KEY }}
@@ -37,36 +37,4 @@ jobs:
3737
run: |
3838
python -m pytest recipes/tests/test_recipes_sync.py
3939
python -m pytest solvebio/test/test_object.py
40-
python -m flake8 solvebio
41-
build_py27:
42-
runs-on: ubuntu-20.04
43-
env:
44-
SOLVEBIO_API_HOST: ${{ secrets.QUARTZBIO_API_HOST }}
45-
SOLVEBIO_API_KEY: ${{ secrets.QUARTZBIO_API_KEY }}
46-
steps:
47-
- name: Checkout repository
48-
uses: actions/checkout@v2
49-
- name: Setup Python 2.7
50-
run: |
51-
sudo apt install python2
52-
sudo apt-get install -y curl python2
53-
sudo curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
54-
sudo python2.7 get-pip.py
55-
- name: Display Python version
56-
run: python2.7 -c "import sys; print(sys.version)"
57-
- name: Export pythonpath
58-
run: |
59-
export PYTHONPATH=$PYTHONPATH:$(pwd)
60-
- name: Install Tox and any other packages
61-
run: |
62-
python2.7 -m pip install -U wheel --user
63-
python2.7 -m pip install setuptools
64-
python2.7 -m pip install flake8 pytest
65-
- name: Install dependencies
66-
run: |
67-
python2.7 -m pip install -r requirements-dev.txt
68-
python2.7 -m pip install XlsxWriter===0.9.3
69-
- name: Scripts
70-
run: |
71-
python2.7 -m pytest recipes/tests/test_recipes_sync.py
72-
python2.7 -m flake8 solvebio
40+
python -m flake8 solvebio

0 commit comments

Comments
 (0)