Skip to content

Update build action and python version #96

Update build action and python version

Update build action and python version #96

Workflow file for this run

name: build
on:
push:
branches:
- 'master'
tags:
- '**'
pull_request:
branches:
- '**'
jobs:
tests:
env:
TOXENV: py311
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools tox
- name: Tests
run: |
python -m tox
lint:
env:
TOXENV: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools tox
- name: Lint
run: |
python -m tox
documents:
env:
TOXENV: documents
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools tox
- name: Install Aspell
run: |
sudo apt-get install aspell aspell-en
- name: Build documents
run: |
python -m tox