CI Fixes
CI / test (push) Failing after 4s
CI / lint (push) Failing after 3s

This commit is contained in:
Logan
2026-04-21 00:45:27 -04:00
parent 01496ea9e7
commit 2b8578a1c4
4 changed files with 7 additions and 15 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
with:
registry: git.vpn.cusano.net
username: ${{ gitea.actor }}
password: ${{ secrets.GITHUB_COM_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get version
id: meta
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
with:
registry: git.vpn.cusano.net
username: ${{ gitea.actor }}
password: ${{ secrets.GITHUB_COM_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get version
id: meta
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
with:
registry: git.vpn.cusano.net
username: ${{ gitea.actor }}
password: ${{ secrets.GITHUB_COM_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Validate build configuration
uses: docker/build-push-action@v6
+4 -12
View File
@@ -13,26 +13,18 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: pip install -r requirements.txt pytest
run: python3 -m pip install -r requirements.txt pytest
- name: Run tests
run: pytest tests -v
run: python3 -m pytest tests -v
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Lint
run: |
pip install flake8
flake8 drb-edge-node/app --max-line-length=120
python3 -m pip install flake8
python3 -m flake8 drb-edge-node/app --max-line-length=120