Skip to content

Commit

Permalink
remove command line argument that is only available in linkml
Browse files Browse the repository at this point in the history
  • Loading branch information
sierra-moxon committed Jul 12, 2024
1 parent 2a02fe2 commit 47f42b7
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,18 @@ jobs:
os: [ubuntu-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.12"]
exclude:
- os: windows-latest
python-version: "3.8"
# Test on Windows with only the oldest and newest Python versions
- os: windows-latest
python-version: "3.9"
- os: windows-latest
python-version: "3.10"
- os: windows-latest
python-version: "3.11"

# See https://github.com/snok/install-poetry#running-on-windows
defaults:
run:
shell: bash

runs-on: ${{ matrix.os }}

Expand All @@ -24,14 +34,14 @@ jobs:
#----------------------------------------------
# check-out repo and set-up python
#----------------------------------------------
- name: Install poetry
run: pipx install poetry==1.4.0

- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install poetry
run: pipx install poetry

- name: Install dynamic versioning plugin
run: poetry self add "poetry-dynamic-versioning[plugin]"

Expand All @@ -53,7 +63,7 @@ jobs:
#----------------------------------------------
- name: Generate coverage results
run: |
poetry run coverage run -m pytest --with-slow
poetry run coverage run -m pytest
poetry run coverage xml
poetry run coverage report -m
shell: bash
Expand All @@ -63,7 +73,7 @@ jobs:
#----------------------------------------------
- name: Upload coverage report
if: github.repository == 'linkml/linkml-runtime'
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v3
with:
name: codecov-results-${{ matrix.os }}-${{ matrix.python-version }}
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit 47f42b7

Please sign in to comment.