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 2ae78a4 commit 5a4339e
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/cibuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.8
- name: Install tox
run: python -m pip install --upgrade tox
- name: egg-info
Expand All @@ -26,25 +26,25 @@ jobs:
strategy:
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
python-version: [3.7, 3.8, 3.9]
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 Expand Up @@ -103,7 +103,7 @@ jobs:
python-version: 3.10
- name: Install tox
run: python -m pip install --upgrade tox
- name: Run tests against astropy dev
- name: Run tests against devastropy
run: tox -e py310-test-devastropy

oldestastropy:
Expand All @@ -117,8 +117,8 @@ jobs:
python-version: 3.8
- name: Install tox
run: python -m pip install --upgrade tox
- name: Run tests against astropy dev
run: tox -e py38-test-oldestastrop
- name: Run tests against oldestastropy
run: tox -e py38-test-oldestastropy

#publish:
#needs: coverage
Expand Down

0 comments on commit 5a4339e

Please sign in to comment.