Skip to content

Commit

Permalink
Revert "dynamic branch selection"
Browse files Browse the repository at this point in the history
This reverts commit bcaff7c.
  • Loading branch information
psilo909 committed May 16, 2022
1 parent bcaff7c commit 768436a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,24 @@ jobs:
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
name: Python ${{ matrix.python-version }}
steps:
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- name: update OS (Ubuntu)
run: sudo apt-get update
- run: sudo apt-get install libudev-dev
- run: sudo apt-get install librrd-dev libpython3-dev
- run: sudo apt-get install gcc --only-upgrade
- uses: actions/checkout@v2

- name: Checkout SmartHomeNG CORE ${{steps.extract_branch.outputs.branch}} Branch
- name: Checkout SmartHomeNG CORE DEVELOP Branch
uses: actions/checkout@v2
with:
repository: smarthomeNG/smarthome
ref: ${{steps.extract_branch.outputs.branch}}
ref: develop
path: smarthomeng
- name: Checkout SmartHomeNG PLUGINS ${{steps.extract_branch.outputs.branch}} Branch
- name: Checkout SmartHomeNG plugins DEVELOP Branch
uses: actions/checkout@v2
with:
repository: smarthomeNG/plugins
ref: ${{steps.extract_branch.outputs.branch}}
ref: develop
path: smarthomeng/plugins

- name: Set up Python
Expand Down

0 comments on commit 768436a

Please sign in to comment.