Skip to content

Commit

Permalink
TST: update building tools in test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaBlengino committed Apr 10, 2024
1 parent 2bca3ff commit 2832b1d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 21 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/linux_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:

- name: Install building tools
run: |
pip install -r requirements/dev.txt
pip install build twine
- name: Build package
run: |
python setup.py sdist bdist_wheel
python -m build
- name: Install build package
run: |
pip install .
pip install .[test]
- name: Package differences computation
run: |
Expand All @@ -43,10 +43,6 @@ jobs:
script: |
core.setFailed('Compiled package different from source package.')
- name: Install tests dependencies
run: |
pip install -r requirements/tests.txt
- name: Fetch
uses: actions/checkout@master

Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/macos_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:

- name: Install building tools
run: |
pip install -r requirements/dev.txt
pip install build twine
- name: Build package
run: |
python setup.py sdist bdist_wheel
python -m build
- name: Install build package
run: |
pip install .
pip install .[test]
- name: Package differences computation
run: |
Expand All @@ -43,10 +43,6 @@ jobs:
script: |
core.setFailed('Compiled package different from source package.')
- name: Install tests dependencies
run: |
pip install -r requirements/tests.txt
- name: Fetch
uses: actions/checkout@master

Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/windows_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:

- name: Install building tools
run: |
pip install -r requirements/dev.txt
pip install build twine
- name: Build package
run: |
python setup.py sdist bdist_wheel
python -m build
- name: Install build package
run: |
pip install .
pip install .[test]
- name: Package differences computation
run: |
Expand All @@ -43,10 +43,6 @@ jobs:
script: |
core.setFailed('Compiled package different from source package.')
- name: Install tests dependencies
run: |
pip install -r requirements/tests.txt
- name: Fetch
uses: actions/checkout@master

Expand Down

0 comments on commit 2832b1d

Please sign in to comment.