Skip to content

Commit

Permalink
Merge pull request #21 from tskisner/testing
Browse files Browse the repository at this point in the history
Small modernizations
  • Loading branch information
tskisner authored Jan 30, 2024
2 parents 4d05453 + d6e5004 commit b1d60d5
Show file tree
Hide file tree
Showing 7 changed files with 1,062 additions and 448 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
# pull_request:
# branches: [ master ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }}
Expand All @@ -22,18 +26,13 @@ jobs:
wheels:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Checkout
uses: actions/checkout@v4

- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.10

- name: Install Dependencies
run: ./test_scripts/install_deps_github_ubuntu.sh && pip install twine
Expand Down
18 changes: 6 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ on:
pull_request:
branches: [ master ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.9", "3.10"]
python-version: ["3.8", "3.10", "3.11", "3.12"]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Checkout
uses: actions/checkout@v4

Expand Down Expand Up @@ -47,13 +46,8 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.7", "3.9", "3.10"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Checkout
uses: actions/checkout@v4

Expand Down
3 changes: 3 additions & 0 deletions pshmem/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@

from .shmem import MPIShared
from .locking import MPILock

from . import _version
__version__ = _version.get_versions()['version']
Loading

0 comments on commit b1d60d5

Please sign in to comment.