forked from caveman2cosmos/Caveman2Cosmos
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (55 loc) · 1.92 KB
/
commit.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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