Skip to content

Commit

Permalink
Testing GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Damian authored and Adrian Damian committed Dec 9, 2021
1 parent 1f95817 commit 2ae78a4
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/cibuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@ jobs:
fail-fast: true
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: python -m pip install --upgrade tox
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: python -m pip install --upgrade tox

- name: Python ${{ matrix.python-version }} with astropy
run: |
# remove "." from matrix.python-version to get the defaults tox python versions
tox_python_target=$(echo py${{matrix.python-version}} | sed 's/\.//')
echo "Tox python target: " $tox_python_target
tox -e $tox_python_target-test
- name: Python ${{ matrix.python-version }} with astropy
run: |
# remove "." from matrix.python-version to get the defaults tox python versions
tox_python_target=$(echo py${{matrix.python-version}} | sed 's/\.//')
echo "Tox python target: " $tox_python_target
tox -e $tox_python_target-test
mac_windows:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 2ae78a4

Please sign in to comment.