Skip to content

Commit

Permalink
build: use latest poetry version and more recent python version
Browse files Browse the repository at this point in the history
  • Loading branch information
SlowMo24 committed Nov 14, 2023
1 parent 7025131 commit f8bac8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,18 @@ jobs:
- python-version: 3.12
tox: 312


steps:
- uses: actions/checkout@v4
- name: Set up testing Python ${{ matrix.config.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.config.python-version }}
- name: Set up base Python 3.10
- name: Set up base Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: 3.11
- name: Python Poetry Action
uses: abatilo/[email protected]
with:
poetry-version: 1.7.0
- name: Install dependencies
run: |
sudo add-apt-repository -y ppa:ubuntugis/ppa && sudo apt-get update && sudo apt-get install -y build-essential gdal-bin libgdal-dev
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/ci-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,18 @@ jobs:
- python-version: 3.12
tox: 312


steps:
- uses: actions/checkout@v4
- name: Set up testing Python ${{ matrix.config.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.config.python-version }}
- name: Set up base Python 3.10
- name: Set up base Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: 3.11
- name: Python Poetry Action
uses: abatilo/[email protected]
with:
poetry-version: 1.7.0
- name: Install dependencies
run: |
sudo add-apt-repository -y ppa:ubuntugis/ppa && sudo apt-get update && sudo apt-get install -y build-essential gdal-bin libgdal-dev
Expand All @@ -51,14 +48,12 @@ jobs:
- linux-tests
steps:
- uses: actions/checkout@v4
- name: Set up base Python 3.10
- name: Set up base Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: 3.11
- name: Python Poetry Action
uses: abatilo/[email protected]
with:
poetry-version: 1.7.0
- name: Publish distribution 📦 with test.pypi.org
if: startsWith(github.ref, 'refs/tags')
run: |
Expand Down

0 comments on commit f8bac8f

Please sign in to comment.