Skip to content

move package metadata to pyproject.toml #204

move package metadata to pyproject.toml

move package metadata to pyproject.toml #204

Workflow file for this run

name: Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
commit_msg: ${{ github.event.head_commit.message }}
jobs:
main-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- uses: nolar/setup-k3d-k3s@v1
- name: Check k3d
run: |
k3d --version
kubectl get nodes
- name: Install requirements
run: |
source ci/install.sh
- name: List Packages
run: |
pip freeze
- name: Run kbatch-server tests
run: |
cd kbatch-proxy
pytest -v
- name: Run kbatch-client tests
run: |
# TODO: think about splitting these, to avoid env issues
cd kbatch
pytest -v
- name: Run mypy
run: |
python -m pip install mypy types-PyYAML
mypy kbatch-proxy
mypy kbatch