Executed by clebergnu #33
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: Runs the tests for library modules | |
run-name: Executed by ${{ github.actor }} | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
modules-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Install Avocado to run tests | |
run: pip3 install 'avocado-framework<104.0' | |
- name: Run the ar module test | |
run: ./tests/test_module.py metadata/autils/archive/ar.yml | |
static-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Install Avocado to allow for lint check on Python code under tests directory | |
run: pip3 install 'avocado-framework<104.0' | |
- name: run static checks | |
uses: avocado-framework/avocado-ci-tools@main | |
with: | |
avocado-static-checks: true |