Skip to content

Commit

Permalink
complete workflow to test
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaMarconato committed May 4, 2024
1 parent 7e64c68 commit c31b565
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/prepare_test_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:

jobs:
download-data:
prepare-data:
runs-on: ubuntu-latest

steps:
Expand All @@ -25,19 +25,8 @@ jobs:
unzip ./data/Xenium_V1_human_Breast_2fov_outs.zip -d ./data/Xenium_V1_human_Breast_2fov_outs
unzip ./data/Xenium_V1_human_Lung_2fov_outs.zip -d ./data/Xenium_V1_human_Lung_2fov_outs
# - uses: actions/upload-artifact@v3
# with:
# name: data
# path: ./data

# use-data:
# needs: download-data
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v3
#
# - uses: actions/download-artifact@v3
# with:
# name: data
# path: ./data
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: data
path: ./data
11 changes: 11 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,17 @@ jobs:
- name: Install dependencies
run: |
pip install --pre -e ".[dev,test]"
- name: Download artifacts of test data
uses: actions/download-artifact@v3
with:
name: data
path: ./data

- name: List the data directory
run: |
ls -l ./data
- name: Test
env:
MPLBACKEND: agg
Expand Down

0 comments on commit c31b565

Please sign in to comment.