Skip to content

Commit 800a9a6

Browse files
author
andamian
authored
Fixed tox targets (#144)
1 parent 9ecadf3 commit 800a9a6

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/cibuild.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ jobs:
4848
- name: Install tox
4949
run: python -m pip install --upgrade tox
5050
- name: Test ${{ matrix.package }}
51-
run: cd ${{ matrix.package }} && tox -e py${{ matrix.python-version }}
51+
run: |
52+
# add py and remove the "." from python-version in order to get the tox_target
53+
tox_target=$(echo py${{matrix.python-version}} | sed 's/\.//')
54+
echo "Tox target: " $tox_target
55+
cd ${{ matrix.package }} && tox -e $tox_target
5256
5357
style_n_coverage:
5458
runs-on: ubuntu-latest

caom2/tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = caom2
55

66
[tox]
77
envlist =
8-
py{2.7,3.4,3.5,3.6,3.7,3.8,3.9}
8+
py{27,34,35,36,37,38,39}
99
requires =
1010
pip >= 19.3.1
1111

caom2repo/tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = caom2repo
55

66
[tox]
77
envlist =
8-
py{2.7,3.4,3.5,3.6,3.7,3.8,3.9}
8+
py{27,34,35,36,37,38,39}
99
requires =
1010
pip >= 19.3.1
1111

caom2utils/tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = caom2utils
55

66
[tox]
77
envlist =
8-
py{2.7,3.4,3.5,3.6,3.7,3.8,3.9}
8+
py{27,34,35,36,37,38,39}
99
requires =
1010
pip >= 19.3.1
1111

0 commit comments

Comments
 (0)