Skip to content

Commit

Permalink
👷 update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Oct 12, 2024
1 parent 7a9d304 commit 2e04309
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
types:
- opened
paths:
- 'src/tarina/_op.h'
- 'src/tarina/*_c.c'
- 'src/tarina/*_c.pyx'
release:
Expand All @@ -25,7 +26,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
Expand All @@ -38,7 +39,7 @@ jobs:
- name: Build sdist
run: |
pipx run build --sdist
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz

Expand All @@ -48,7 +49,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
Expand All @@ -62,7 +63,7 @@ jobs:
run: |
export TARINA_NO_EXTENSIONS=1
pipx run build --wheel
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: dist/*.whl

Expand Down Expand Up @@ -97,7 +98,7 @@ jobs:
fi
shell: bash
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
- name: Install cython
uses: py-actions/py-dependency-install@v4
with:
Expand Down Expand Up @@ -128,7 +129,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: artifact
path: dist
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- main
paths-ignore:
- '.github/workflows/build.yml'
pull_request:

jobs:
Expand All @@ -13,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Ensure Python Runtime
with:
python-version: ${{matrix.py_ver}}
Expand All @@ -38,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
name: Ensure Python Runtime
with:
python-version: ${{matrix.py_ver}}
Expand Down

0 comments on commit 2e04309

Please sign in to comment.