Compare commits
18 commits
developmen
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 08ad958e12 | |||
| a15a9de293 | |||
| 30707bd0b6 | |||
| 3cffd619ed | |||
| 13c51edd26 | |||
| 106391a2ec | |||
| 800bdf6c3f | |||
| a318f0353b | |||
| 1ffd42dec0 | |||
| 4e9a87eb29 | |||
| 5d50cd102b | |||
| 28ea9f609b | |||
| 572249b4b9 | |||
| ed48e22ecc | |||
| 9e97310217 | |||
| 4adfac9403 | |||
| 3a69eba37c | |||
| ccc153a870 |
2 changed files with 29 additions and 2 deletions
29
.forgejo/workflows/main.yml
Normal file
29
.forgejo/workflows/main.yml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
name: Pipeline main branch
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.12
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install flake8 pytest
|
||||
pip install -r requirements.txt
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
pytest
|
||||
|
|
@ -1,7 +1,5 @@
|
|||
FROM python:3.12
|
||||
|
||||
MAINTAINER continuist
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt requirements.txt
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue