Skip to content

environment setup using make #4

environment setup using make

environment setup using make #4

Workflow file for this run

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
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
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_ed25519
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
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add /home/runner/.ssh/id_rsa
ssh-add /home/runner/.ssh/id_ed25519
- name: DVC Pull
run: |
dvc pull
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- name: Setup julia environment
run: |
make u
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1