Skip to content

Commit

Permalink
ci: python 3.8 and 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Mar 21, 2024
1 parent 2a98a78 commit 1130eed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest]
python: ["3.8", "3.11"]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/setup-python@v5
with:
python-version: '3.x'
python-version: ${{ matrix.python }}

- uses: actions/checkout@v4

Expand Down
6 changes: 3 additions & 3 deletions dmsp.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
%
% example:
% [dat, time, elev, wavelength] = dmsp('~/data/2011-03-01/msp/MSP_2011060.PF');

arguments
fn (1,1) string {mustBeFile}
end

assert(~verLessThan('matlab', '9.5'), 'Matlab >= R2018b required')

validateattributes(fn, {'char'}, {'scalartext'})

I = py.dmsp.load(fn);

time = datetime2datetime(I{'time'});
Expand Down

0 comments on commit 1130eed

Please sign in to comment.