CI: removed build dependency on test
This commit is contained in:
@@ -18,14 +18,16 @@ jobs:
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install dependencies
|
||||
run: python -m pip install --upgrade pip && python -m pip install -e . && python -m pip install pytest
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install -e .
|
||||
python -m pip install pytest
|
||||
|
||||
- name: Run tests
|
||||
run: python -m pytest tests/ -v
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -35,7 +37,9 @@ jobs:
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install build dependencies
|
||||
run: python -m pip install --upgrade pip && python -m pip install build
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install build
|
||||
|
||||
- name: Build package
|
||||
run: python -m build
|
||||
|
||||
Reference in New Issue
Block a user