[WIP] Support Regulatory Fusions #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Example Scripts | |
on: | |
push: | |
branches: [ main, staging ] | |
pull_request: | |
branches: [ main, staging] | |
jobs: | |
run-scripts: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3' | |
- name: Install Ruby dependencies | |
run: gem install httparty | |
- name: Run Ruby script | |
run: ruby examples/fetch_variant_links.rb | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.13' | |
- name: Install Python dependencies | |
run: pip install requests | |
- name: Run Python script | |
run: python examples/fetch_all_variants.py | |
- name: Set up R | |
uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: '4.4' | |
- name: Install system dependencies for R packages | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libcurl4-openssl-dev libssl-dev libxml2-dev | |
- name: Run R script | |
run: Rscript examples/fetch_acmg_code.R |