Compare commits
4
Commits
0b4413ce9c
...
65a693706a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
65a693706a | ||
|
|
1f716aeb21 | ||
|
|
2889601bc3 | ||
|
|
1341fc5597 |
@@ -1,8 +1,7 @@
|
|||||||
name: Python application
|
name: pipeline
|
||||||
run-name: ${{ gitea.actor }} is building the application
|
runs-on: ubuntu-latest
|
||||||
on: [push]
|
on: [push]
|
||||||
image: python:3.10
|
image: python:3.10
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
@@ -21,7 +20,7 @@ jobs:
|
|||||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
- name: PEP8 check
|
- name: PEP8 check
|
||||||
run: |
|
run: |
|
||||||
flake8 ./code
|
flake8 ./code --benchmark --exit-zero
|
||||||
- name: Type check
|
- name: Type check
|
||||||
run: |
|
run: |
|
||||||
mypy ./code
|
mypy ./code
|
||||||
@@ -34,5 +33,5 @@ jobs:
|
|||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
# docker build . --file Dockerfile --tag ${{}}
|
# docker build . --file Dockerfile --tag ${{}}
|
||||||
echo "${{ gitea }}""
|
echo "${{ gitea.actor }}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user