Skip to content

Replace export in CI with variables #332

Replace export in CI with variables

Replace export in CI with variables #332

Workflow file for this run

name: CI
on:
push:
branches: [ main , 'v*', 'dev*']
pull_request:
branches: [ main , 'v*' ]
permissions:
contents: read
jobs:
build:
variables:

Check failure on line 14 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 14, Col: 5): Unexpected value 'variables'
QT_QPA_PLATFORM: "offscreen"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: Install openGL
run: sudo apt install freeglut3-dev libglib2.0-0 libsm6 libxrender1 libxext6 libxkbcommon-x11-0 libdbus-1-dev
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Test with pytest
run: |
pytest