diff --git a/.github/workflows/CI-tests.yml b/.github/workflows/CI-tests.yml index 3822bf6..ddf3a20 100644 --- a/.github/workflows/CI-tests.yml +++ b/.github/workflows/CI-tests.yml @@ -12,18 +12,25 @@ permissions: jobs: build: - runs-on: ubuntu-latest - + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + python-version: ['3.10', '3.11', '3.12'] + experimental: [false] + os: [ubuntu-22.04] steps: - uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: - python-version: "3.10" - - name: Install dependencies + python-version: ${{ matrix.python-version }} + cache: 'pip' + - name: Tox environment run: | - python -m pip install --upgrade pip + pip install --upgrade pip pip install tox + tox -e py --notest - name: Test with tox run: | tox -m test diff --git a/setup.cfg b/setup.cfg index afd3454..3291031 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = aerovaldb -version = 0.0.18.dev0 +version = 0.0.19 author = Augustin Mortier, Thorbjørn Lundin, Heiko Klein author_email = Heiko.Klein@met.no description = aeroval database to communicate between pyaerocom and aeroval @@ -22,7 +22,7 @@ url = https://github.com/metno/aerovaldb [options] -python_version = >=3.9 +python_version = >=3.10 install_requires = importlib-metadata >= 3.6; python_version < "3.10" simplejson @@ -54,6 +54,11 @@ min_version = 4.0 env_list = mpy py310 + py311 + py312 +skip_missing_interpreters = True +isolated_build = True +requires = depends = [testenv]