mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2025-12-27 22:59:48 +01:00
More CI test fixes
This commit is contained in:
38
.github/workflows/lint.yml
vendored
38
.github/workflows/lint.yml
vendored
@@ -1,38 +0,0 @@
|
||||
name: Lint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [development]
|
||||
pull_request:
|
||||
branches: [development]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Set up Python 3.x
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
architecture: 'x64'
|
||||
- name: dependencies
|
||||
run: |
|
||||
python -m pip install -U pip wheel setuptools
|
||||
- name: wheel
|
||||
run: |
|
||||
python -m pip install -e .[tests]
|
||||
- name: flake8
|
||||
run: |
|
||||
flake8 pytiled_parser
|
||||
- name: mypy
|
||||
run: |
|
||||
mypy pytiled_parser
|
||||
- name: black
|
||||
run: |
|
||||
black pytiled_parser --check
|
||||
|
||||
19
.github/workflows/test.yml
vendored
19
.github/workflows/test.yml
vendored
@@ -25,14 +25,25 @@ jobs:
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
architecture: ${{ matrix.architecture }}
|
||||
architecture: ${{ matrix-python-version }}
|
||||
- name: dependencies
|
||||
run: |
|
||||
python -m pip install -U pip wheel setuptools
|
||||
- name: wheel
|
||||
run: |
|
||||
python -m pip install -e .[tests]
|
||||
- name: pytest
|
||||
- name: flake8
|
||||
run: |
|
||||
pytest --cov=pytiled_parser --cov-report=xml --cov-report=html
|
||||
|
||||
flake8 pytiled_parser
|
||||
- name: mypy
|
||||
if: success() || failure()
|
||||
run: |
|
||||
mypy pytiled_parser
|
||||
- name: black
|
||||
if: success() || failure()
|
||||
run: |
|
||||
black pytiled_parser --check
|
||||
- name: pytest
|
||||
if: success() || failure()
|
||||
run: |
|
||||
pytest --cov=pytiled_parser --cov-report=xml --cov-report=html
|
||||
Reference in New Issue
Block a user