Merge pull request #44 from hgb-bin-proteomics/develop #39
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 for Ubuntu 22.04 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
Test-for-Ubuntu: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Install NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '6' | |
- name: Install dependencies | |
run: | | |
sudo apt-get update && sudo apt-get install -y g++ | |
- name: Copy test data | |
run: | | |
cp tests/data/* exe/ubuntu_x64/uncompressed | |
- name: Test | |
run: | | |
cd exe/ubuntu_x64/uncompressed | |
chmod +x CandidateSearch | |
./CandidateSearch test_spectra.mgf test_database.fasta test_settings.txt | |
- name: Check result | |
run: | | |
cd exe/ubuntu_x64/uncompressed | |
head test_spectra.mgf_results.csv |