Skip to content

Commit

Permalink
Update actions and increase tested Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gedeck committed Nov 8, 2024
1 parent eae1988 commit 7f56c3b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-R.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
Expand Down
25 changes: 8 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,24 @@ concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
# pull_request:
# paths-ignore:
# - '**/*.md'
push:
paths-ignore:
- '**/*.md'
- '**/*.md'
workflow_dispatch:
jobs:
build-python:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install graphviz
Expand All @@ -30,15 +33,3 @@ jobs:
- run: cd python/code; python "Chapter 5 - Classification.py"
- run: cd python/code; python "Chapter 6 - Statistical Machine Learning.py"
- run: cd python/code; python "Chapter 7 - Unsupervised Learning.py"

# pylint:
# runs-on: ubuntu-latest
# name: Pylint
# steps:
# - uses: actions/checkout@v2
# - name: Set up Python
# uses: actions/setup-python@v2
# with:
# python-version: '3.10'
# - run: pip install --upgrade pip pylint matplotlib pandas scikit-learn pytest
# - run: cd src; pylint dmba

0 comments on commit 7f56c3b

Please sign in to comment.