-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0e1fb60
commit 29de877
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: ["master", "dev", "autotest"] | ||
pull_request: | ||
branches: ["master", "dev"] | ||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
julia-version: [1.9.3] | ||
julia-arch: [x86] | ||
os: [ubuntu-latest] | ||
steps: | ||
- uses: julia-actions/setup-julia@latest | ||
with: | ||
version: ${{ matrix.julia-version }} | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
- name: Configure ssh keys | ||
run: | | ||
mkdir -p ~/.ssh | ||
echo "${{ secrets.SSH_ID_RSA }}" > /home/runner/.ssh/id_rsa | ||
chmod 600 ~/.ssh/id_rsa | ||
echo "${{ secrets.SSH_ID_ED25519 }}" > /home/runner/.ssh/id_rsa | ||
chmod 600 ~/.ssh/id_rsa | ||
echo "${{ secrets.SSH_CONFIG }}" > /home/runner/.ssh/config | ||
ssh-keyscan github.com >> /home/runner/.ssh/known_hosts | ||
ssh-keyscan cybele.gat.com >> /home/runner/.ssh/known_hosts | ||
ssh-keyscan omega.gat.com >> /home/runner/.ssh/known_hosts | ||
ssh-keyscan iris.gat.com >> /home/runner/.ssh/known_hosts | ||
- name: DVC Pull | ||
run: | | ||
dvc pull | ||
- uses: julia-actions/cache@v1 | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
|
||
- name: Setup julia environment | ||
run: | | ||
julia --project=. -e 'using Pkg; Pkg.rm("OMAS"); Pkg.add(url="[email protected]:ProjectTorreyPines/OMAS.jl.git", rev="master"); Pkg.instantiate()' | ||
- uses: julia-actions/julia-runtest@v1 | ||
- uses: julia-actions/julia-processcoverage@v1 |