Skip to content

Commit

Permalink
Remove PYJULIA_TEST_INCOMPATIBLE_PYTHONS in CI setup
Browse files Browse the repository at this point in the history
`discover_other_pythons` already handles this.
  • Loading branch information
tkf committed Oct 24, 2021
1 parent 7bc3d71 commit b3c12ae
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,8 @@ jobs:
python -m pip install --upgrade tox
- name: Install PyCall
run: python ci/install_pycall.py
- name: Set PYJULIA_TEST_INCOMPATIBLE_PYTHONS
if: ${{ matrix.python-version != '2.7' }}
run: |
if which python2; then
py2="$(which python2)"
echo "PYJULIA_TEST_INCOMPATIBLE_PYTHONS=$py2" >> $GITHUB_ENV
fi
shell: bash
- name: Check PYJULIA_TEST_INCOMPATIBLE_PYTHONS
if: ${{ matrix.python-version != '2.7' }}
run: echo "$PYJULIA_TEST_INCOMPATIBLE_PYTHONS"
shell: bash
- name: Run test
run: python -m tox -- --cov=julia
run: python -m tox -- --verbose --cov=julia
env:
CI: 'true' # run tests marked by @only_in_ci
TOXENV: py
Expand Down

0 comments on commit b3c12ae

Please sign in to comment.