File tree Expand file tree Collapse file tree 1 file changed +62
-0
lines changed
Expand file tree Collapse file tree 1 file changed +62
-0
lines changed Original file line number Diff line number Diff line change 7575 name : playwright-report
7676 path : ./playwright-report/
7777 retention-days : 30
78+
79+ resolve-python-dependencies :
80+ name : Resolve Python Dependencies
81+ timeout-minutes : 60
82+ strategy :
83+ fail-fast : true
84+ matrix :
85+ python-version : ["3.11", "3.12"]
86+ os : [ubuntu-22.04]
87+ defaults :
88+ run :
89+ shell : bash
90+ runs-on : ${{ matrix.os }}
91+ steps :
92+ - uses : actions/checkout@v4
93+
94+ - name : Set up python ${{ matrix.python-version }}
95+ uses : actions/setup-python@v5
96+ with :
97+ python-version : ${{ matrix.python-version }}
98+
99+ - name : Install Poetry
100+ uses : snok/install-poetry@v1
101+ with :
102+ version : ${{ env.POETRY_VERSION }}
103+
104+ - uses : pnpm/action-setup@v3
105+
106+ - name : Setup Node.js
107+ uses : actions/setup-node@v4
108+ with :
109+ node-version : 18
110+ cache : " pnpm"
111+
112+ - name : Install dependencies
113+ run : pnpm install
114+
115+ - name : Install Playwright Browsers
116+ run : pnpm exec playwright install --with-deps
117+ working-directory : .
118+
119+ - name : Build create-llama
120+ run : pnpm run build
121+ working-directory : .
122+
123+ - name : Install
124+ run : pnpm run pack-install
125+ working-directory : .
126+
127+ - name : Run Python Dependencies Test
128+ run : pnpm exec playwright test e2e/resolve_python_dependencies.spec.ts
129+ env :
130+ OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
131+ LLAMA_CLOUD_API_KEY : ${{ secrets.LLAMA_CLOUD_API_KEY }}
132+ working-directory : .
133+
134+ - uses : actions/upload-artifact@v3
135+ if : always()
136+ with :
137+ name : playwright-report-python-dependencies
138+ path : ./playwright-report/
139+ retention-days : 30
You can’t perform that action at this time.
0 commit comments