mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-12-20 02:18:37 +00:00
Fix test action by checking out source first (#2836)
The first action can't be action with simple run step, because it is respecting the working-directory already. Put checkout step to the top.
This commit is contained in:
10
.github/workflows/test.yaml
vendored
10
.github/workflows/test.yaml
vendored
@@ -27,16 +27,16 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
working-directory: ./tests
|
working-directory: ./tests
|
||||||
steps:
|
steps:
|
||||||
- name: Install system dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install -y qemu-system-x86 ovmf
|
|
||||||
|
|
||||||
- name: Checkout source
|
- name: Checkout source
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
|
- name: Install system dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install -y qemu-system-x86 ovmf
|
||||||
|
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user