Skip to content

Commit

Permalink
Merge branch 'main' into tests/integration-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrako authored Oct 10, 2023
2 parents 40c7658 + 6e43d0d commit 8007fff
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 67 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/docs.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/pylint.yml

This file was deleted.

55 changes: 54 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
test:
name: ${{ matrix.tox_env }} / ${{ matrix.os }}
name: test ${{ matrix.tox_env }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
env:
MPLBACKEND: Agg
Expand Down Expand Up @@ -52,3 +52,56 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

pylint:
name: pylint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install base python for tox
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install tox
run: python -m pip install tox
- name: Setup test environment
run: tox -vv --notest -e pylint
- name: Run test
run: tox --skip-pkg-install -e pylint


docs:
name: docs (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install pandoc
uses: r-lib/actions/setup-pandoc@v2
with:
pandoc-version: '2.19.2'
- name: Install base python for tox
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install tox
run: python -m pip install tox
- name: Setup test environment
run: tox -vv --notest -e docs
- name: Run test
run: tox --skip-pkg-install -e docs
- name: Upload documentation
uses: actions/upload-artifact@v3
with:
name: html-docs-${{ matrix.os }}
path: docs/build/

0 comments on commit 8007fff

Please sign in to comment.