Skip to content

Commit

Permalink
edit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aslgraefe committed Jan 6, 2025
1 parent caecfdf commit 634790d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: true # This ensures submodules are checked out - name: Checkout code
submodules: true

- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -29,10 +29,14 @@ jobs:
python3 -m pip install --upgrade pip
python3 -m pip install --editable .[test,docs]
python3 -m pip install --editable ./submodules/phenopacket_mapper # Install the submodule package
- name: Configure BioPortal API Key for Oaklib
run: |
mkdir -p ~/.config/ontology-access-kit
echo "${{ secrets.BIOPORTAL_API_TOKEN }}" > ~/.config/ontology-access-kit/bioportal-apikey.txt
- name: Run tests with pytest
env:
BIOPORTAL_API_TOKEN: ${{ secrets.BIOPORTAL_API_TOKEN }}
run: |
pytest
env:
BIOPORTAL_API_TOKEN: ${{ secrets.BIOPORTAL_API_TOKEN }}

0 comments on commit 634790d

Please sign in to comment.