Skip to content

Commit

Permalink
move workflow steps
Browse files Browse the repository at this point in the history
  • Loading branch information
rgstephens committed Nov 29, 2024
1 parent 306a944 commit 765004b
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 34 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build-action-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,46 @@ on:
workflow_dispatch:

jobs:
lint-testing:
name: Code Formatting Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: 3.10.15
- name: Install dependencies
run: |
python -m pip install -U pip
pip install -r requirements-dev.txt
- name: Code Formatting Tests
working-directory: ${{ github.workspace }}
run: |
make lint
# type-testing:
# name: Type Tests
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - name: Set up Python 3.10
# uses: actions/setup-python@v1
# with:
# python-version: 3.10.15
# - name: Install dependencies
# run: |
# python -m pip install -U pip
# pip install -r requirements-dev.txt
# - name: Type Checking
# working-directory: ${{ github.workspace }}
# run: |
# make types

docker:
name: Build Action Server Docker Image
runs-on: ubuntu-latest
needs: [lint-testing]
# needs: [lint-testing, type-testing]
env:
DOCKERHUB_USERNAME: stephens
steps:
Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/test-train-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,40 +10,6 @@ on:
# - "Dockerfile"

jobs:
lint-testing:
name: Code Formatting Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: 3.10.15
- name: Install dependencies
run: |
python -m pip install -U pip
pip install -r requirements-dev.txt
- name: Code Formatting Tests
working-directory: ${{ github.workspace }}
run: |
make lint
# type-testing:
# name: Type Tests
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - name: Set up Python 3.10
# uses: actions/setup-python@v1
# with:
# python-version: 3.10.15
# - name: Install dependencies
# run: |
# python -m pip install -U pip
# pip install -r requirements-dev.txt
# - name: Type Checking
# working-directory: ${{ github.workspace }}
# run: |
# make types
training-testing:
name: Training and Testing
runs-on: ubuntu-latest
Expand Down

0 comments on commit 765004b

Please sign in to comment.