Skip to content

Commit

Permalink
- Fix CI steps
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 committed Aug 30, 2022
1 parent 78c45fe commit ac2db72
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ jobs:
python-version: 3.9

- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install -r requirements_test.txt
run: make install

- name: Test with pytest
run: |
pytest --exitfirst --verbose --failed-first
run: make test
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ format-check: black-check isort-check lint mypy
## install - Install the project locally
install:
$(PYTHON_BINARY) -m venv $(VIRTUAL_ENV)
$(VIRTUAL_BIN)/pip install -e ."[dev]"
$(VIRTUAL_BIN)/pip install -r requirements.txt
$(VIRTUAL_BIN)/pip install -r dev_requirements.txt

## isort - Sorts imports throughout the project
isort:
Expand Down
3 changes: 2 additions & 1 deletion dev_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ isort
pytest-cov==3.*
pytest==7.*
types-requests
types-urllib3
types-urllib3
python-dotenv

0 comments on commit ac2db72

Please sign in to comment.