bugfix eval run
This commit is contained in:
@@ -1,8 +1,14 @@
|
|||||||
import requests
|
import requests
|
||||||
import argparse
|
import argparse
|
||||||
import sys
|
import sys
|
||||||
|
import os
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
# TODO: remove this
|
||||||
|
print(f"Current working directory: {os.getcwd()}")
|
||||||
|
print(f"Script location: {os.path.abspath(__file__)}")
|
||||||
|
print(f"Directory contents: {os.listdir('.')}")
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description='Run evaluation benchmark')
|
parser = argparse.ArgumentParser(description='Run evaluation benchmark')
|
||||||
parser.add_argument('--label', required=True, help='Label for the evaluation run')
|
parser.add_argument('--label', required=True, help='Label for the evaluation run')
|
||||||
parser.add_argument('--api-url', required=True, help='API URL')
|
parser.add_argument('--api-url', required=True, help='API URL')
|
||||||
|
|||||||
@@ -19,6 +19,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
|
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: 'Install dependencies'
|
- name: 'Install dependencies'
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
|||||||
Reference in New Issue
Block a user