-
Notifications
You must be signed in to change notification settings - Fork 41
41 lines (33 loc) · 847 Bytes
/
python.yml
File metadata and controls
41 lines (33 loc) · 847 Bytes
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
name: Test Python aswfdocker Library
on:
push:
branches:
- '*'
paths-ignore:
- '**.md'
pull_request:
branches:
- '*'
paths-ignore:
- '**.md'
jobs:
python:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- run: pip3 install pipenv
name: Install pipenv
- run: pipenv install --dev
name: Install aswfdocker and dev dependencies with pipenv
- run: pipenv run pre-commit run --all-files
name: Run all pre-commit tests
- run: pipenv run aswfdocker dockergen --check
name: Check that all templated Dockerfile and README.md are up to date