Skip to content

Commit

Permalink
added lfs files to runners
Browse files Browse the repository at this point in the history
  • Loading branch information
simongravelle committed Sep 11, 2024
1 parent 7bfcf93 commit 9d6cbb0
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,39 @@
name: Test the Countoscope
on:
# Run the workflow on pushes to the 'develop' branch and pull requests targeting 'develop'
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

jobs:
# Specify the OS environment (Ubuntu) for the GitHub runner
build:
runs-on: ubuntu-latest
runs-on: ubuntu-latest

steps:
# Step 1: Checkout the repository, including submodules and any LFS-managed files
- uses: actions/checkout@v2
with:
submodules: true # Initialize and update submodules
submodules: true
lfs: true

# Step 2: Set up Python 3.10.7
- name: Set up Python 3.10.7
uses: actions/setup-python@v2
with:
python-version: "3.10.7"

# Step 3: Update pip, Install dependencies, Install the Countoscope
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .
pip install .
# Step 4: Run tests using pytest
- name: Test with pytest
run: |
cd tests
cd tests
pip install -r requirements.txt
pytest .

0 comments on commit 9d6cbb0

Please sign in to comment.