Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
himaster authored Oct 31, 2024
1 parent ca32098 commit c41e9ac
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
flake8:
name: flake8
runs-on: ubuntu-latest
runs-on: ["self-hosted", "k8s-prod"]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -39,7 +39,7 @@ jobs:
run: flake8

isort:
runs-on: ubuntu-latest
runs-on: ["self-hosted", "k8s-prod"]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -64,7 +64,7 @@ jobs:
run: isort --check --profile black src/

black:
runs-on: ubuntu-latest
runs-on: ["self-hosted", "k8s-prod"]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -86,7 +86,7 @@ jobs:
run: black --check src/

django-check:
runs-on: ubuntu-latest
runs-on: ["self-hosted", "k8s-prod"]

services:
postgres:
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
docker-publish-staging:
if: (github.event_name == 'push' && github.ref == 'refs/heads/main')
needs: [ flake8, isort, black, django-check ]
runs-on: ubuntu-latest
runs-on: ["self-hosted", "k8s-prod"]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
docker-publish-release:
if: (github.event_name == 'release' && github.event.action == 'released')
needs: [ flake8, isort, black, django-check ]
runs-on: ubuntu-latest
runs-on: ["self-hosted", "k8s-prod"]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit c41e9ac

Please sign in to comment.