From 3b96ca3fa21be245742acf17aa737dd296ae5e04 Mon Sep 17 00:00:00 2001 From: Wolfgang Fahl Date: Thu, 4 Jan 2024 12:10:49 +0100 Subject: [PATCH] tries fixing build.yaml --- .github/workflows/build.yml | 60 ++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 31 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5bb14f..17c19ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,43 +1,41 @@ -# This workflow will install Python dependencies, run tests and lint with a variety of Python versions -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions - +--- name: Build - on: push: - branches: [ master ] + branches: + - master pull_request: - branches: [ master ] - + branches: + - master env: GHACTIONS: ACTIVE - jobs: build: - runs-on: ubuntu-latest strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.9, '3.10','3.11'] # 3.12 doesn't work because oaf aio.http as of 2023-11-05 - + os: + - ubuntu-latest + - macos-latest + - windows-latest + python-version: + - 3.9 + - "3.10" + - "3.11" steps: - - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install sphinx - pip install sphinx_rdt_theme - - - name: install - run: | - scripts/doc - - - name: Run tests - run: | - scripts/installAndTest + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install sphinx + pip install sphinx_rdt_theme + - name: install + run: | + scripts/doc + - name: Run tests + run: | + scripts/installAndTest