Skip to content

Commit

Permalink
Merge f27564d into a9c0559
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Dec 1, 2022
2 parents a9c0559 + f27564d commit 601ba1a
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/gating.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,19 @@ jobs:
tests:
name: Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]

steps:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
python-version: "3.9"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry tox tox-gh-actions
pip install poetry tox
- name: Test with tox
run: tox -e py
Expand All @@ -41,6 +38,14 @@ jobs:
pip3 install --upgrade coveralls==3.2.0
coveralls --service=github
- name: Set up Python for documentation build
uses: actions/setup-python@v3
with:
python-version: "3.8"

- name: Test building documentation with tox
run: tox -e docs

coveralls-finish:
name: Finish coveralls-python
needs: tests
Expand All @@ -62,7 +67,6 @@ jobs:
tox_env:
- bandit
- lint
- docs

runs-on: ubuntu-latest

Expand Down Expand Up @@ -109,17 +113,14 @@ jobs:
IMAGE_NAME: greenwave
REGISTRY: quay.io/factory2
GH_REGISTRY: ghcr.io/${{ github.actor }}
strategy:
matrix:
python-version: ["3.9"]

steps:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
python-version: "3.9"

- name: Install dependencies
run: |
Expand Down Expand Up @@ -168,7 +169,7 @@ jobs:
run: |
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list &&
curl -L "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/Release.key" | sudo apt-key add - &&
sudo apt-get -y update &&
sudo apt-get -y -o Dpkg::Options::="--force-overwrite" update &&
sudo apt-get -y install podman
- name: Test Image
Expand Down

0 comments on commit 601ba1a

Please sign in to comment.