Skip to content

Commit

Permalink
Merge pull request #736 from mrariden/gh_actions
Browse files Browse the repository at this point in the history
Gh actions
  • Loading branch information
mrariden committed Jun 29, 2023
2 parents 59bd0cd + bad92a6 commit 869f160
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,25 @@ jobs:
name: ${{ matrix.platform }} py${{ matrix.python-version }}
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.8, 3.9, "3.10"]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2
uses: actions/setup-python@v2
with:
auto-activate-base: true
# auto-activate-base: true
python-version: ${{ matrix.python-version }}
- name: Install dependencies
shell: bash -l {0}
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
# this runs the platform-specific tests declared in tox.ini
- name: Test with tox
shell: bash -l {0}
run: |
tox
run: tox
env:
PLATFORM: ${{ matrix.platform }}

Expand Down

0 comments on commit 869f160

Please sign in to comment.