Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
skuschel committed Nov 24, 2023
1 parent 535307a commit 41d7520
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,24 @@ jobs:
latest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9, "3.10"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m venv --system-site-packages env
source env/bin/activate
python -m pip install --upgrade pip
pip install -r pip-requirements.txt
python -m pip install -r pip-requirements.txt
python --version
python -m pip install -e .
- name: run tests
run: |
./run-tests.py
Expand All @@ -33,9 +38,9 @@ jobs:
# have to copy steps from above, as anchors are currently
# not supported by github workflow (Jan 2020).
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion pip-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pycodestyle
nose2
cython>=0.18
Cython>=0.18
numpy>=1.8

# required for building the docs
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
# does not work for python 2
'numpy>=1.8', 'numpy>=1.9;python_version<"3.0"',
'scipy', 'future', 'urllib3', 'numexpr',
'cython>=0.18', 'functools32;python_version<"3.0"'],
'cython>=0.18', 'functools32;python_version<"3.0"',
'packaging'],
extras_require = {
'h5 reader for openPMD support': ['h5py'],
'sdf support for EPOCH reader': ['sdf'],
Expand Down

0 comments on commit 41d7520

Please sign in to comment.