Skip to content

Commit c92ae70

Browse files
committed
Remove dependency to tox for build-test target
1 parent 7335e0e commit c92ae70

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/test.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
uses: actions/setup-python@v4
4040
with:
4141
python-version: ${{ matrix.python }}
42-
- name: Install dependencies
43-
run: pip install tox
4442
- name: Run build test target
4543
run: |
4644
make build-test

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ docs:
4141
tox -e docs
4242

4343
.PHONY: build-test
44-
build-test: .tox
44+
build-test:
4545
rm -rf venv
46-
$(PY) -m venv venv
46+
python3 -m venv venv
4747
. venv/bin/activate
48-
$(PY) setup.py sdist
48+
python3 setup.py sdist
4949
pip install ./dist/juju-${VERSION}.tar.gz
50-
$(PY) -c "from juju.controller import Controller"
50+
python3 -c "from juju.controller import Controller"
5151
rm ./dist/juju-${VERSION}.tar.gz
5252

5353
.PHONY: release

0 commit comments

Comments
 (0)