Skip to content

Merge branch 'caveman2cosmos:master' into default #103

Merge branch 'caveman2cosmos:master' into default

Merge branch 'caveman2cosmos:master' into default #103

Workflow file for this run

name: Commit jobs
on: [push, pull_request]
jobs:
# Pylint fails before linting for our files begins
# https://github.com/caveman2cosmos/Caveman2Cosmos/issues/1162
#
# pylint:
# name: Linting - Pylint
# runs-on: ubuntu-20.04
# strategy:
# matrix:
# python-version: [2,3]
# steps:
# - name: Check out code
# uses: actions/checkout@v2
# with:
# lfs: true
# - name: Lint in docker
# run: |
# docker run \
# --rm \
# --interactive \
# --volume ${{ github.workspace }}:/host_dir \
# --workdir /host_dir ubuntu:18.04 \
# bash -c \
# "./Tools/Lint/setup.sh && python3 Tools/Lint/pylint.py --python-versions ${{ matrix.python-version }}"
# python-unit-tests:
# name: Testing - Python 3 unit tests
# runs-on: ubuntu-20.04
# steps:
# - name: Check out code
# uses: actions/checkout@v2
# with:
# lfs: true
# - name: Test in docker
# run: |
# docker run \
# --rm \
# --interactive \
# --volume ${{ github.workspace }}:/host_dir \
# --workdir /host_dir ubuntu:18.04 \
# bash -c \
# "./Test/Python3/setup.sh && pytest -c Test/Python3/pytest.ini ."
validate-xmls:
name: Validate XMLs
runs-on: windows-2019
steps:
- name: Check out code
uses: actions/checkout@v2
with:
lfs: true
- name: Run XmlValidator
working-directory: ${{ github.workspace }}/Tools
run: |
${{ github.workspace }}/Tools/XmlValidator.exe -a