Skip to content

Commit

Permalink
Reorganize GHA yml a bit
Browse files Browse the repository at this point in the history
- Upgrade pip, setuptools before installing deps
- Run nox through pipx
  • Loading branch information
JorisVincent committed Mar 13, 2023
1 parent 274b4c6 commit b09d7c0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/test.yml
Expand Up @@ -18,11 +18,13 @@ jobs:
python-version: ${{ matrix.python_version }}
architecture: x64

- name: Install nox
run: pip install nox
- name: Install (testing) requirements
run: pip install -r requirements.txt
run: |
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
- name: Install stimupy to be tested
run: pip install .
- name: Run tests for $ {{ matrix.python_version }} through nox
run: nox --non-interactive --error-on-missing-interpreter --session "tests-${{ matrix.python_version }}" -- --full-trace
run: |
pip install .
- name: Run tests for ${{ matrix.python_version }} through nox
run: |
pipx run nox --non-interactive --error-on-missing-interpreter --session "tests-${{ matrix.python_version }}"

0 comments on commit b09d7c0

Please sign in to comment.