Skip to content

Make createuser work for new installations and add basic coverage. #601

Make createuser work for new installations and add basic coverage.

Make createuser work for new installations and add basic coverage. #601

Workflow file for this run

name: Continuous Integration
on:
# Triggers the workflow on push or pull request events but only for this git branch
pull_request:
types:
- opened
- reopened
- synchronize
branches:
- edge
push:
branches:
- edge
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
jobs:
python3-latest:
runs-on: ubuntu-latest
steps:
- name: Check out repository contents
uses: actions/checkout@v4
- name: Set up latest Python 3.x
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Setup environment
run: |
make dependencies
- name: Run tests
run: |
make unittest
python3-rocky9ish:
runs-on: ubuntu-22.04
steps:
- name: Check out repository contents
uses: actions/checkout@v3
- name: Set up Python 3.9.18 to mimic Rocky9
uses: actions/setup-python@v3
with:
python-version: "3.9.18"
- name: Setup environment
run: |
make dependencies
- name: Run tests
run: |
make unittest
python3-rocky8ish:
runs-on: ubuntu-20.04
steps:
- name: Check out repository contents
uses: actions/checkout@v3
- name: Set up Python 3.6.8 to mimic Rocky8
uses: actions/setup-python@v3
with:
python-version: "3.6.8"
- name: Setup environment
run: |
make dependencies
- name: Run tests
run: |
make unittest
python2-latest:
runs-on: ubuntu-latest
container:
image: python:2
volumes:
- .:/usr/src/app
steps:
- name: Check out repository contents
uses: actions/checkout@v4
- name: Setup environment
run: |
make PYTHON_BIN=python PY=2 dependencies
- name: Run tests
run: |
make PYTHON_BIN=python PY=2 unittest