From 49a643fae697127600ed07ad798cefee8314f40d Mon Sep 17 00:00:00 2001 From: Timur Bazhirov Date: Wed, 18 Dec 2024 19:27:46 -0800 Subject: [PATCH] chore: update cicd.yml - py versions, ubuntu 22.04, remove node 14 --- .github/workflows/cicd.yml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 14427f31..97f61bef 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -8,15 +8,11 @@ concurrency: jobs: run-py-linter: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: python-version: - - 3.9.x - - 3.10.x - - 3.11.x - - 3.12.x - - 3.13.x + - 3.10.13 steps: - name: Checkout this repository @@ -38,17 +34,15 @@ jobs: exclude: src/py/mat3ra/esse/models* run-py-tests: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: python-version: - # Enable 3.10 after resolving Cython/PyYAML issue https://github.com/yaml/pyyaml/issues/724 - - 3.8.6 - 3.9.x - 3.10.x - 3.11.x - # Enable after: AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? - # - 3.12.x + - 3.12.x + - 3.13.x steps: - name: Checkout this repository @@ -74,7 +68,6 @@ jobs: strategy: matrix: node-version: - - 14.x - 20.x steps: @@ -93,7 +86,7 @@ jobs: - name: Run JS validate uses: ./actions/js/validate with: - node-version: '14.x' + node-version: '20.x' - name: Run JS tests uses: ./actions/js/test @@ -146,7 +139,7 @@ jobs: - name: Publish python release uses: ./actions/py/publish with: - python-version: 3.8.x + python-version: 3.10.13 github-token: ${{ secrets.BOT_GITHUB_TOKEN }} pypi-api-token: ${{ secrets.PYPI_API_TOKEN }} publish-tag: 'false'