Skip to content

Commit

Permalink
Update automated_error_analysis.yml
Browse files Browse the repository at this point in the history
Signed-off-by: NxPKG <116948796+NxPKG@users.noreply.github.com>
  • Loading branch information
NxPKG authored Feb 27, 2024
1 parent c8af0b4 commit 35452f6
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/automated_error_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
push:
branches:
- main # or the branch you want to trigger this on

env:
ARTEFECTS: "automated-error-analysis"
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -23,13 +24,14 @@ jobs:
with:
python-version: '3.8'

- name: Activate Conda environment
run: conda activate error-analysis

- name: Install PyTorch and dependencies
run: |
conda install pytorch=1.13.1 torchvision=0.14.1 pytorch-cuda=11.6 -c pytorch -c nvidia
pip install -r requirements.txt
# Add more steps if necessary, like running tests, linting, etc.
- name: Check out artefacts
uses: actions/checkout@v4
with:
repository: ${{ github.repository_owner }}/${{ env.ARTEFECTS }}
token: ${{ secrets.ORG_REPO_TOKEN }}
path: ${{ env.ARTEFECTS }}

- name: Setup github user email and name
run: |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"

0 comments on commit 35452f6

Please sign in to comment.