Skip to content

Commit

Permalink
Merge pull request #145 from issp-center-dev/update_gha
Browse files Browse the repository at this point in the history
Test on more envs
  • Loading branch information
yomichi authored Jul 5, 2024
2 parents 02fb783 + 65a6cda commit 5ea2ed3
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- run: echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v2
uses: actions/checkout@v4
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
- name: pytest
run: |
Expand Down
21 changes: 15 additions & 6 deletions .github/workflows/ci_dcorelib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,31 @@ on: [push, pull_request]
jobs:
build:
name: |
${{ matrix.os }}, numpy==${{ matrix.numpy }}, scipy==${{ matrix.scipy }}
${{ matrix.os }}, python==${{ matrix.python }}, numpy==${{ matrix.numpy }}, scipy==${{ matrix.scipy }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
numpy: 1.24
scipy: 1.6
python: 3.8
numpy: "1.24"
scipy: "1.6"
python: "3.8"
- os: ubuntu-latest
numpy: "1.26.4"
scipy: "1.11.4"
python: "3.11"
- os: ubuntu-latest
numpy: "1.26.4"
scipy: "1.11.4"
python: "3.12"
#- os: ubuntu-latest
#numpy: auto
#scipy: auto
#python: 3.9

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: apt
if: ${{ runner.os == 'Linux' }}
run: |
Expand All @@ -27,7 +36,7 @@ jobs:
- uses: mpi4py/setup-mpi@v1

- name: Set up python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
uses: rlespinasse/[email protected]

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: main

- name: Checkout gh-pages
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages

- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
uses: rlespinasse/[email protected]

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: main

- name: Checkout gh-pages
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages
Expand Down Expand Up @@ -83,4 +83,4 @@ jobs:
echo "Nothing to deploy"
fi
- run: echo "This job's status is ${{ job.status }}."
- run: echo "This job's status is ${{ job.status }}."
6 changes: 3 additions & 3 deletions .github/workflows/examples_dcorelib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
uses: rlespinasse/[email protected]

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: main

- name: Checkout gh-pages
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages
Expand Down Expand Up @@ -84,4 +84,4 @@ jobs:
echo "Nothing to deploy"
fi
- run: echo "This job's status is ${{ job.status }}."
- run: echo "This job's status is ${{ job.status }}."
2 changes: 1 addition & 1 deletion .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build dist
run: python setup.py sdist bdist_wheel
Expand Down

0 comments on commit 5ea2ed3

Please sign in to comment.