Skip to content

Commit

Permalink
more changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kelle committed Nov 21, 2023
1 parent a3e8b13 commit 306bcc1
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,33 @@ on:
workflow_dispatch: # allows manual execution

jobs:
test:
name: Python - ${{ matrix.python-version }}
build:

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest]
python-version: [ '3.10' ]
os: ["macos-latest"]
python-version: ["3.10"]

steps:
- uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of the git history
- uses: conda-incubator/setup-miniconda@v2

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
environment-file: env/environment-${{ matrix.python-version }}.yml
miniforge-version: latest

- name: Display Python version
run: python -c "import sys; print(sys.version)"

- name: Test with pytest
run: |
pip install pytest
pytest -s

0 comments on commit 306bcc1

Please sign in to comment.