Compare commits

...
4 Commits
Author SHA1 Message Date
brb 65a693706a updated deploy workflow
pipeline / Test (push) Successful in 39s
pipeline / Deploy (push) Successful in 3s
2023-07-11 15:02:55 +02:00
brb 1f716aeb21 updated flake8 outputs
pipeline / Test (push) Successful in 38s
pipeline / Deploy (push) Has been skipped
2023-07-11 14:32:29 +02:00
brb 2889601bc3 removed unused lines
pipeline / Test (push) Successful in 42s
pipeline / Deploy (push) Has been skipped
2023-07-11 14:22:14 +02:00
brb 1341fc5597 added runs-on
Python application / Test (push) Successful in 40s
Python application / Deploy (push) Has been skipped
2023-07-11 14:01:38 +02:00
+4 -5
View File
@@ -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 }}"