Update actions/checkout action to v4 #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Running Build and test | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.8' | |
- name: Install pybuilder | |
run: | | |
pip install pybuilder | |
- name: pyb installing dependencies | |
run: | | |
pyb install_dependencies | |
- name: To run python build with tests and coverage | |
run: | | |
pyb -v | |
- name: To run Flake8 for lint checks | |
run: | | |
pyb analyze |