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
# Github workflow runner for Docker Multi-Arch using QEMU, Buildx for amd64 & arm64 | |
name: Docker Multi-Arch | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: build for amd64/arm64 | |
steps: |
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
""" | |
A simple looping function with one python package requirement | |
""" | |
from tqdm import tqdm | |
def simple_loop_func(number): | |
""" | |
Using tqdm progress bar this function prints out the progress of the for loop | |
:param number: int digit to be the end of the for loop |
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
""" | |
A simple looping function with one python package requirement | |
""" | |
from tqdm import tqdm | |
def simple_loop_func(number): | |
""" | |
Using tqdm progress bar this function prints out the progress of the for loop | |
:param number: int digit to be the end of the for loop |
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
# Github workflow runner instructions using cutomized actions | |
name: Code Coverage [CodeCov] | |
on: [ push ] | |
jobs: | |
codecov: | |
runs-on: ubuntu-latest | |
name: CodeCov | |
steps: |
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
# custom action to install packages and run simple loop scrript | |
name: 'Continuous Integration Custom Action' | |
description: 'Install required packages and run code' | |
inputs: | |
project_name: # Project name | |
description: 'project name for printing' | |
required: true | |
default: 'none' | |
# The action runs a composite set of instructions |
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
# Github workflow runner instructions using cutomized actions | |
name: Continuous Integration | |
on: [ push ] | |
jobs: | |
runner_details: | |
runs-on: ubuntu-latest | |
name: Runner Details | |
steps: |