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