Skip to content

Update stress-test.yml #5

Update stress-test.yml

Update stress-test.yml #5

Workflow file for this run

name: pytest
on: push
jobs:
test:
runs-on: ubuntu-latest
env:
PGDB_HOME: ${{ github.workspace }}/pgdb_home
steps:
- name: Checkout main repository
uses: actions/checkout@v3
with:
repository: MontrealCorpusTools/PolyglotDB
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'
- name: Download and set up Praat
run: |
wget https://www.fon.hum.uva.nl/praat/praat6417_linux-intel64-barren.tar.gz -O praat.tar.gz
tar -xvzf praat.tar.gz
echo "praat=$(pwd)/praat_barren" >> $GITHUB_ENV
- name: Install required packages and run pytest
run: |
python -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -e .
pip install pyyaml setuptools pytest
pgdb install $PGDB_HOME
pgdb start
pytest
pgdb stop