Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test on more envs #145

Merged
merged 6 commits into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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