diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 22c5b2e..abf9bdc 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -20,7 +20,7 @@ jobs: - name: Install dependencies run: | pip install -e . - pip install flake8 pytest pytest-cov codecov wheel + pip install -r requirements-dev.txt - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names @@ -42,5 +42,4 @@ jobs: python -c "import robotools; print(robotools.__version__)" - name: Test Wheel with twine run: | - pip install twine twine check dist/* diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa5f8d4..0560503 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - name: Install dependencies run: | pip install -e . - pip install flake8 pytest pytest-cov twine wheel + pip install -r requirements-dev.txt - name: Test with pytest run: | pytest --cov=./robotools --cov-report xml --cov-report term-missing robotools diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..a4e168c --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,6 @@ +codecov +flake8 +pytest +pytest-cov +twine +wheel diff --git a/requirements.txt b/requirements.txt index 5da331c..24ce15a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1 @@ numpy -pandas