Skip to content

Update actions/checkout action to v4 #493

Update actions/checkout action to v4

Update actions/checkout action to v4 #493

Workflow file for this run

name: Test
env:
OMP_NUM_THREADS: '1'
on: [push, pull_request]
jobs:
light_test:
name: Test
runs-on: [self-hosted, linux, shared-scratch]
container:
image: docker://ulissigroup/kubeflow_vasp:amptorch_ocp
volumes:
- /home/jovyan/shared-scratch:/home/jovyan/shared-scratch
credentials:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
steps:
- name: Checkout actions
uses: actions/checkout@v4
- name: Set up environment
run: |
export CWD=$(pwd)
cd $CWD
git clone https://github.com/Open-Catalyst-Project/ocp
cd $CWD/ocp
python setup.py develop
cd $CWD
- name: Run pytest on light test suite unit tests
run: |
pytest finetuna/tests/suites/light_suite.py -s