Skip to content

Commit

Permalink
update pinned requirements, drop py39, use pins in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhsmit committed Nov 26, 2024
1 parent d2564ba commit 643ac60
Show file tree
Hide file tree
Showing 7 changed files with 776 additions and 1,456 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.10" ]
# defaults:
# run:
# shell: bash
runs-on: ubuntu-latest
steps:
- name: Check out repository
Expand All @@ -24,21 +21,16 @@ jobs:
- name: Install dependencies
run: |
python -m pip install uv
uv venv -p ${{ matrix.python-version }}
uv pip install -e .[test,web]
uv venv -p ${{ matrix.python-version }}'
. .venv/bin/activate'
echo PATH=$PATH >> $GITHUB_ENV
uv pip install -r requirements/requirements-ubuntu-latest-${{ matrix.python-version }}.txt
uv pip install -e .
- name: Download test file
run: |
wget "https://filedn.eu/loRXwzWCNnU4XoFPGbllt1y/datafile_1.ptu" -O tests/test_data/input/ds1/datafile_1.ptu
- name: Activate virtualenv
run: |
. .venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
# - name: Install in editable mode with test requirements
# run: uv pip install -p ${{ matrix.python-version }} -e .[test]

- name: Run tests
run: |
pytest tests/
Loading

0 comments on commit 643ac60

Please sign in to comment.