Skip to content

Refactor CI/CD pipeline to use Docker #86

Refactor CI/CD pipeline to use Docker

Refactor CI/CD pipeline to use Docker #86

Workflow file for this run

name: CI
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
env:
MIXER_BASH_EXE: bash
VRTIST_PORT: 25600
MIXER_TEST_OUTPUT: logs\tests
jobs:
pre_release:
runs-on: ubuntu-22.04
steps:

Check failure on line 20 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yaml

Invalid workflow file

You have an error in your yaml syntax on line 20
- uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff pep8-naming mypy sphinx sphinx-rtd-theme requests --constraint requirements-dev.txt
- name: Run ruff
run: |
ruff -v mixer tests extra
- name: Run mypy
run: |
mypy mixer
continue-on-error: true
# - name: Build docs
# run: |
# sphinx-build -b html docs docs/_build/html
# rm -rf docs/_build/doctree
- name: Zip files
run: |
cp CHANGELOG.md README.md LICENSE mixer/
rm -rf mixer/blender_data/tests/
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: blender_mixer
path: |
docs/_build
mixer
- name: Build Docker image
run: |
docker build .