Skip to content

Merge pull request #94 from bgurney-rh/devenv-f39 #97

Merge pull request #94 from bgurney-rh/devenv-f39

Merge pull request #94 from bgurney-rh/devenv-f39 #97

Workflow file for this run

---
name: justbytes CI
# yamllint disable-line rule:truthy
on:
push:
branches: [master]
pull_request:
branches: [master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
development_environment_checks:
strategy:
matrix:
include:
- dependencies: black python3-isort
task: make -f Makefile fmt-travis
- dependencies: yamllint
task: make -f Makefile yamllint
- dependencies: pylint python3-hypothesis python3-justbases
task: PYTHONPATH=./src make -f Makefile lint
- dependencies: >
python3-hypothesis
python3-justbases
task: PYTHONPATH=./src make -f Makefile test
- dependencies: >
python3-coverage
python3-hypothesis
python3-justbases
task: PYTHONPATH=./src make -f Makefile coverage
- dependencies: python python3-build twine
task: make -f Makefile package
runs-on: ubuntu-latest
container: fedora:38 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: >
dnf install -y
make
${{ matrix.dependencies }}
- name: ${{ matrix.task }}
run: ${{ matrix.task }}
lowest_environment_checks:
strategy:
matrix:
include:
- dependencies: >
python3-hypothesis
python3-justbases
task: PYTHONPATH=./src make -f Makefile test
- dependencies: >
python3-hypothesis
python3-justbases
task: PYTHONPATH=./src make -f Makefile legacy-package
runs-on: ubuntu-latest
container: fedora:34 # LOWEST DEVELOPMENT ENVIRONMENT
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: >
dnf install -y
make
${{ matrix.dependencies }}
- name: ${{ matrix.task }}
run: ${{ matrix.task }}