Trying #21
Workflow file for this run
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: Python application | |
on: | |
push: | |
branches: [ "158-create-github-action-testing", "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install Libreoffice and uno dependencies | |
run: | | |
sudo apt-get install libreoffice python3-uno | |
sudo pip install pytest | |
sudo pip install . | |
- name: Launch unogenerator_start | |
run: | | |
sudo unogenerator_start --instances 20 | |
- name: Monitor things | |
run: | | |
sudo netstat -nputa | |
sudo unogenerator_monitor | |
- name: Run pytest | |
run: | | |
sudo pytest |