-
Notifications
You must be signed in to change notification settings - Fork 3
61 lines (57 loc) · 1.81 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
name: justbases 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
task: PYTHONPATH=./src make -f Makefile lint
- dependencies: python3-hypothesis
task: PYTHONPATH=./src make -f Makefile test
- dependencies: python3-coverage python3-hypothesis
task: PYTHONPATH=./src make -f Makefile coverage
- dependencies: python python3-build twine
task: make -f Makefile package
runs-on: ubuntu-latest
container: fedora:39 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: >
dnf install -y
make
${{ matrix.dependencies }}
- name: Run ${{ matrix.task }}
run: ${{ matrix.task }}
lowest_environment_checks:
strategy:
matrix:
include:
- dependencies: python3-hypothesis
task: PYTHONPATH=./src make -f Makefile test
- dependencies: python3-hypothesis
task: PYTHONPATH=./src make -f Makefile legacy-package
runs-on: ubuntu-latest
container: fedora:34 # LOWEST DEVELOPMENT ENVIRONMENT
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: >
dnf install -y
make
${{ matrix.dependencies }}
- name: Run ${{ matrix.task }}
run: ${{ matrix.task }}