Fix some TODOs #919
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: External Use | |
on: | |
push: | |
branches: | |
- "main" | |
- "dev" | |
pull_request: | |
branches: | |
- "main" | |
- "dev" | |
workflow_dispatch: | |
permissions: read-all | |
jobs: | |
tima-test: | |
name: tima-${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
strategy: | |
matrix: | |
os: | |
- "ubuntu-latest" | |
- "macos-latest" | |
- "windows-latest" | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
use-public-rspm: true | |
Ncpus: 2 | |
- name: Install package | |
run: | | |
Rscript inst/scripts/install.R | |
- name: Get example files | |
run: | | |
Rscript inst/scripts/get_example_spectra.R | |
Rscript inst/scripts/get_example_features.R | |
Rscript inst/scripts/get_example_metadata.R | |
# Rscript inst/scripts/get_example_sirius.R | |
- name: Run tests | |
run: | | |
Rscript inst/scripts/tima_full.R | |
# Check if targets works correctly | |
Rscript inst/scripts/tima_full.R |