Skip to content

Commit

Permalink
Merge branch 'master' of github.com:malariagen/malariagen-data-python
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbrenas committed Sep 5, 2024
2 parents 0570a1b + 27f9589 commit 65fce2c
Show file tree
Hide file tree
Showing 11 changed files with 297 additions and 492 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry==1.8.2
run: pipx install poetry==1.8.3

- name: Setup python
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/latest_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
python-version: '3.12'

- name: Install poetry
run: pipx install poetry==1.8.2
run: pipx install poetry==1.8.3

- name: Eyeball native environment 👀
run: python --version ; pip --version ; poetry --version ; pwd ; ls -la
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/legacy_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- master
jobs:
tests:
legacy_tests:
strategy:
fail-fast: true
matrix:
Expand All @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry==1.8.2
run: pipx install poetry==1.8.3

- name: Setup python
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry==1.8.2
run: pipx install poetry==1.8.3

- name: Setup python
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry==1.8.2
run: pipx install poetry==1.8.3

- name: Setup python
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tagged_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python-version: '3.12'

- name: Install poetry
run: pipx install poetry==1.8.2
run: pipx install poetry==1.8.3

- name: Eyeball native environment 👀
run: python --version ; pip --version ; poetry --version ; pwd ; ls -la
Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,26 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]
numpy-version:
- "numpy==1.26.4" # current colab version
- "numpy~=2.0" # 2.0 series
# numba (0.60.0) does not yet support numpy 2.1, disable this for now
# - "numpy~=2.1" # 2.1 series
runs-on: ubuntu-latest

steps:
- name: Checkout source
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry==1.8.2

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
cache: "pip"

- name: Install dependencies
run: poetry install
- name: Install package
run: pip install "${{ matrix.numpy-version }}" .[dev]

- name: Run fast unit tests
run: poetry run pytest -v tests/anoph --typeguard-packages=malariagen_data,malariagen_data.anoph
run: pytest -v tests/anoph --typeguard-packages=malariagen_data,malariagen_data.anoph
2 changes: 1 addition & 1 deletion malariagen_data/af1.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
MAJOR_VERSION_NUMBER = 1
MAJOR_VERSION_PATH = "v1.0"
CONFIG_PATH = "v1.0-config.json"
GCS_DEFAULT_URL = "gs://vo_afun_release/"
GCS_DEFAULT_URL = "gs://vo_afun_release_master_us_central1/"
GCS_REGION_URLS = {
"us-central1": "gs://vo_afun_release_master_us_central1",
}
Expand Down
2 changes: 1 addition & 1 deletion malariagen_data/ag3.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
MAJOR_VERSION_NUMBER = 3
MAJOR_VERSION_PATH = "v3"
CONFIG_PATH = "v3-config.json"
GCS_DEFAULT_URL = "gs://vo_agam_release/"
GCS_DEFAULT_URL = "gs://vo_agam_release_master_us_central1/"
GCS_REGION_URLS = {
"us-central1": "gs://vo_agam_release_master_us_central1",
}
Expand Down
Loading

0 comments on commit 65fce2c

Please sign in to comment.