Skip to content

GitHub Actions maintenance #92

GitHub Actions maintenance

GitHub Actions maintenance #92

Workflow file for this run

name: Build
on: push
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint build
pip install -r requirements.txt
- name: Run linter
run: pylint -E tn3270
- name: Run unit tests
run: ./run_unit_tests.sh
- name: Build packages
run: python -m build
- name: Attach packages
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/