Skip to content

Fix arg placement

Fix arg placement #10

Workflow file for this run

name: Run tests of relman.py
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Configure arbitrary Git user
run: |
git config --global user.name "Testy McTesterson"
git config --global user.email "[email protected]"
- uses: actions/setup-python@v4
with:
cache: 'pip' # caching pip dependencies
- name: Install Python dependencies
run: pip install pylint pytest coverage
- name: Invoke pylint
run: pylint -E *.py
- name: Invoke pytest
run: pytest test.py --junit-xml=results.xml
- name: Upload test results
uses: actions/upload-artifact@v3
with:
name: results.xml
path: results.xml
- name: Upload coverage report
uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage_info/html