Skip to content

Add Swin-T FPN and MobileNetv3 FPN configs #67

Add Swin-T FPN and MobileNetv3 FPN configs

Add Swin-T FPN and MobileNetv3 FPN configs #67

Workflow file for this run

name: PR Validation
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'cfg/*/*.yaml'
jobs:
validate-yaml:
if: github.head_ref != 'staging'
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
cache-dependency-path: scripts/requirements.txt
- name: Get changed files
id: changed-files-yaml
uses: tj-actions/changed-files@v45
with:
files_yaml: |
cfg:
- 'cfg/*/*.yaml'
- name: Install dependencies
run: |
pip install -r scripts/requirements.txt
- name: Validate YAML
if: steps.changed-files-yaml.outputs.cfg_any_changed == 'true'
env:
CFG_ALL_CHANGED_FILES: ${{ steps.changed-files-yaml.outputs.cfg_all_changed_files }}
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
PR_NUMBER: ${{ github.event.number }}
PR_BRANCH: ${{ github.event.pull_request.head.ref }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
run: python scripts/validate_yaml.py