Skip to content

Commit 1e63a37

Browse files
Add new test job for multiple OS environments and specify bash shell for Python installation
1 parent 9fcefd7 commit 1e63a37

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,20 @@ jobs:
2828
run: |
2929
cd test
3030
uv run main.py
31+
test-without-python:
32+
strategy:
33+
matrix:
34+
os: [ubuntu-latest, macos-latest, windows-latest]
35+
36+
runs-on: ${{ matrix.os }}
37+
steps:
38+
- uses: actions/checkout@v4
39+
- name: install dependencies
40+
uses: ./
41+
with:
42+
extra-args: '--directory test'
43+
- name: run script
44+
run: |
45+
cd test
46+
uv run main.py
47+
uv run -v

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ runs:
3838
- name: Install python if Python version is provided
3939
if: ${{ inputs.python-version == '' }}
4040
run: uv python install
41+
shell: bash
4142
# Step 2: Install dependencies
4243
- name: Install dependencies
4344
run: uv sync ${{ inputs.extra-args }}

0 commit comments

Comments
 (0)