Skip to content

Commit

Permalink
chore: update cicd.yml - py versions, ubuntu 22.04, remove node 14
Browse files Browse the repository at this point in the history
  • Loading branch information
timurbazhirov authored Dec 19, 2024
1 parent 2e73a88 commit 49a643f
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -74,7 +68,6 @@ jobs:
strategy:
matrix:
node-version:
- 14.x
- 20.x

steps:
Expand All @@ -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
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 49a643f

Please sign in to comment.