Skip to content

[WIP] Timstof support #252

[WIP] Timstof support

[WIP] Timstof support #252

Workflow file for this run

name: Build and Test
on:
push:
branches: main
pull_request:
branches: main
env:
IMAGE_NAME: nf-encyclopedia
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest numpy pandas
curl -s https://get.nextflow.io | bash
chmod u+x nextflow
mkdir -p bin && mv nextflow bin
echo "$(pwd)/bin" >> $GITHUB_PATH
- name: Build the Docker image
uses: docker/build-push-action@v4
with:
context: .
load: true
tags: ${{ env.IMAGE_NAME }}:latest
- name: Run Unit Tests
run: |
REMOTE=/app/nf-encyclopedia
docker run -v $(pwd):${REMOTE} nf-encyclopedia:latest \
pytest ${REMOTE}/tests/unit_tests
- name: Run System Tests
run: |
pytest tests/system_tests