[ISV-3498] Create an end-to-end test for the community operator pipeline #2428
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: validation | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
tox: | |
name: Run unit tests and linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up PDM | |
uses: pdm-project/setup-pdm@v3 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
pdm sync -dG operator-pipelines-dev | |
pdm sync -dG tox | |
- name: Run Tests | |
run: | | |
pdm run -v tox |