-
Notifications
You must be signed in to change notification settings - Fork 5
50 lines (38 loc) · 1.06 KB
/
test_example_scripts.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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