Add 2021 posth sci adv #624
Workflow file for this run
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: trident validate | |
# Trigger the workflow on push or pull request, but only for the master branch | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
jobs: | |
validate: | |
name: validate packages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install trident | |
run: | | |
wget https://github.com/poseidon-framework/poseidon-hs/releases/latest/download/trident-Linux | |
chmod +x trident-Linux | |
- name: Clone data repo | |
uses: actions/checkout@v3 | |
with: | |
path: data | |
- name: Validation | |
run: ./trident-Linux validate -d data --ignoreGeno --logMode VerboseLog | |
- name: Check for displaced files | |
run: ./checkForDisplacedFiles.sh | |
working-directory: ./data | |
- name: Check if all registered files are actually LFS pointers | |
run: git lfs fsck --pointers | |
working-directory: ./data | |
- name: Check if all files have UTF-8 encoding and Unix line endings | |
run: ./checkFileEncoding.sh | |
working-directory: ./data | |
- name: Check if any .janno and .ssf files start with a single or double-quote character | |
run: ./checkQuotes.sh | |
working-directory: ./data |