Skip to content

Commit

Permalink
[checkbox-ce-oem] Add back testing checkbox-provider-ce-oem when Pr p…
Browse files Browse the repository at this point in the history
…roposed (Infra) (#1423)

* Fix path for checkbox-ce-oem

* Install libsystemd-dev

* Add back PR validation for checkbox-provider-ceoemn
  • Loading branch information
LiaoU3 authored Aug 29, 2024
1 parent 749ed2a commit 6772524
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/tox-contrib-provider-ce-oem.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
name: Test provider-ce-oem (from contrib area) with tox

on:
push:
branches: [ main ]
paths:
- contrib/checkbox-ce-oem/checkbox-provider-ce-oem/**
pull_request:
branches: [ main ]
paths:
- contrib/checkbox-ce-oem/checkbox-provider-ce-oem/**
workflow_dispatch:

jobs:
tox_test_contrib_ce_oem_provider:
continue-on-error: true
name: Test ce-oem provider (from contrib area) with tox
defaults:
run:
working-directory: contrib/checkbox-provider-ce-oem
working-directory: contrib/checkbox-ce-oem/checkbox-provider-ce-oem
runs-on: ubuntu-20.04
strategy:
matrix:
Expand Down Expand Up @@ -40,6 +47,10 @@ jobs:
python-version: ${{ matrix.python }}
env:
PIP_TRUSTED_HOST: pypi.python.org pypi.org files.pythonhosted.org
- name: Install libsystemd-dev
run: |
sudo apt-get update
sudo apt-get install -y libsystemd-dev
- name: Install tox
run: pip install tox
- name: Run tox
Expand Down

0 comments on commit 6772524

Please sign in to comment.