Skip to content

Commit

Permalink
Merge pull request #6 from janhq/chore/cicd
Browse files Browse the repository at this point in the history
Chore cicd
  • Loading branch information
bachvudinh authored Jul 17, 2024
2 parents f6c82c1 + 4cda605 commit ef45a14
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/runners/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ ADD ./start.sh /home/runner/start.sh

RUN chmod +x /home/runner/start.sh

# Add /usr/local/cuda-11.7/compat to LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH=/usr/local/cuda-12.1/compat${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

ENTRYPOINT ["/bin/bash", "/home/runner/start.sh"]

USER runner
9 changes: 7 additions & 2 deletions .github/workflows/test-flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ on:
branches: main
pull_request:
branches: main
workflow_dispatch:

jobs:
test:
runs-on: research
runs-on: research-utils

steps:
- uses: actions/checkout@v4
Expand All @@ -24,4 +25,8 @@ jobs:
pip install -e .
- name: Run test_flow.py
run: python test_flows.py
run: python test_flows.py
env:
S3_ACCESS_KEY: ${{ secrets.MINIO_ACCESS_KEY_ID }}
S3_SECRET_KEY: ${{ secrets.MINIO_SECRET_ACCESS_KEY }}
S3_ENDPOINT_URL: ${{ secrets.MINIO_ENDPOINT }}

0 comments on commit ef45a14

Please sign in to comment.