Skip to content

Commit

Permalink
Trying ci test with dvc
Browse files Browse the repository at this point in the history
  • Loading branch information
anchal-physics committed May 7, 2024
1 parent 76eca3a commit 815d7bb
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DVC_SSH_KEY }}
- name: Configure ssh
run: |
echo "{{ secrets.DVC_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
echo "{{ secrets.DVC_SSH_CONFIG }}" > ~/.ssh/config
- 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
- uses: codecov/codecov-action@v2
with:
files: lcov.info

0 comments on commit 815d7bb

Please sign in to comment.