Skip to content

Commit

Permalink
GitHub Actions maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
lowobservable committed Aug 26, 2023
1 parent 053a767 commit 7b023bf
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,33 @@ on: push

jobs:
build:
runs-on: ubuntu-latest
name: Build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint build
- 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@v2
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/

0 comments on commit 7b023bf

Please sign in to comment.