---
name: stratisd weekly

# yamllint disable-line rule:truthy
on:
  schedule:
    - cron: 15 3 * * 1

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

jobs:
  next-fedora-python-checks:
    continue-on-error: true
    strategy:
      matrix:
        include:
          # PYTHON CHECKS ON NEXT FEDORA PYTHON AND PYTHON TOOLS VERSION
          - dependencies: >
              pylint
              python3-dbus-client-gen
              python3-dbus-python-client-gen
              python3-psutil
              python3-pyudev
              python3-semantic_version
            task: PYTHONPATH=./src make -f Makefile lint
            working-directory: ./tests/client-dbus
          - dependencies: black python3-isort
            task: make -f Makefile fmt-travis
            working-directory: ./tests/client-dbus
          - dependencies: yamllint
            task: make -f Makefile yamllint
            working-directory: .
          - dependencies: shfmt
            task: make -f Makefile fmt-shell-ci
            working-directory: .
    runs-on: ubuntu-18.04
    container: fedora:35  # NEXT DEVELOPMENT ENVIRONMENT
    steps:
      - uses: actions/checkout@v2
      - name: Install dependencies
        run: >
          dnf install -y
          make
          python-unversioned-command
          ${{ matrix.dependencies }}
      - name: Display Python version
        run: python --version
      - name: ${{ matrix.task }}
        run: ${{ matrix.task }}
        working-directory: ${{ matrix.working-directory }}

---
name: stratisd weekly

# yamllint disable-line rule:truthy
on:
  schedule:
    - cron: 15 3 * * 1

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

jobs:
  next-fedora-python-checks:
    continue-on-error: true
    strategy:
      matrix:
        include:
          # PYTHON CHECKS ON NEXT FEDORA PYTHON AND PYTHON TOOLS VERSION
          - dependencies: >
              pylint
              python3-dbus-client-gen
              python3-dbus-python-client-gen
              python3-psutil
              python3-pyudev
              python3-semantic_version
            task: PYTHONPATH=./src make -f Makefile lint
            working-directory: ./tests/client-dbus
          - dependencies: black python3-isort
            task: make -f Makefile fmt-travis
            working-directory: ./tests/client-dbus
          - dependencies: yamllint
            task: make -f Makefile yamllint
            working-directory: .
          - dependencies: shfmt
            task: make -f Makefile fmt-shell-ci
            working-directory: .
    runs-on: ubuntu-18.04
    container: fedora:36  # NEXT DEVELOPMENT ENVIRONMENT
    steps:
      - uses: actions/checkout@v2
      - name: Install dependencies
        run: >
          dnf install -y
          make
          python-unversioned-command
          ${{ matrix.dependencies }}
      - name: Display Python version
        run: python --version
      - name: ${{ matrix.task }}
        run: ${{ matrix.task }}
        working-directory: ${{ matrix.working-directory }}

Advance next development environment to Fedora 36
Advance next development environment to Fedora 36

Signed-off-by: Bryan Gurney <94498243b15882748b18aec9e6dc02da713818c8@redhat.com>
