Skip to content

Commit

Permalink
unittests.yml: python setup.py install is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Mar 26, 2024
1 parent d5406df commit a189aa4
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand All @@ -17,10 +18,13 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python setup.py install
python -m pip install --upgrade pip
pip install pytest
pip install --editable .
- name: Run unittests
run: |
python tests/unit_tests.py
python tests/field_tests.py
python tests/csv_id_to_node_id_map_tests.py
run: |
pip install pytest
pytest --ignore=tests/test_islandora.py \
--ignore=tests/test_islandora_check.py \
--ignore=tests/test_islandora_hooks.py \
--ignore=tests/test_islandora_paged_content.py
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a189aa4

Please sign in to comment.