Skip to content

aimclub/AutoTM installation test #453

aimclub/AutoTM installation test

aimclub/AutoTM installation test #453

Workflow file for this run

name: build
run-name: ${{ github.repository }} installation test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- uses: actions/checkout@v3
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Using python version
run: python --version
# - name: Install pip
# run: apt install -y python3-pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest poetry
poetry export -f requirements.txt --without-hashes --with dev > requirements.txt
pip install -r requirements.txt
- name: Download english corpus
run: python -m spacy download en_core_web_sm
- name: set pythonpath
run: |
echo "PYTHONPATH=." >> $GITHUB_ENV
- name: Lint with flake8
run: |
flake8 autotm --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Run test code
run: |
pytest tests
- run: echo "🍏 This job's status is ${{ job.status }}."