mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 16:56:24 +02:00
31 lines
614 B
YAML
31 lines
614 B
YAML
name: arch config tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
validate_arch_config:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: .
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: "3.12"
|
|
|
|
- name: build arch docker image
|
|
run: |
|
|
docker build -f Dockerfile . -t katanemo/plano -t katanemo/plano:0.4.1
|
|
|
|
- name: validate arch config
|
|
run: |
|
|
bash config/validate_plano_config.sh
|