Skip to content

Commit

Permalink
simplified test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
maniospas committed Jan 26, 2025
1 parent 6cbfb08 commit 14843b3
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"] # TODO: re-enable 3.8 for 3.6 compatibility
python-version: ["3.11"] # TODO: re-enable 3.8 for 3.6 compatibility
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Generate coverage badge
run: coverage-badge -o coverage.svg -f
- name: Commit coverage badge
if: ${{ matrix.python-version == '3.11' }}
if: ${{ matrix.python-version == '3.12' }}
run: |
git config --global user.name 'github-actions'
git config --global user.email 'github-actions@github.com'
Expand All @@ -52,19 +52,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.11", "3.12", "3.13"]
python-version: ["3.13"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies without GPU frameworks
- name: Install fairbench without extras
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov coverage-badge
pip install objwrap numpy eagerpy distributed makefun matplotlib wget scikit-learn pandas requests pyyaml
pip install scikit-learn
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install .
- name: Test with pytest
run: pytest tests/v2 # this is the barebones core without any depenendency

0 comments on commit 14843b3

Please sign in to comment.