Skip to content

ngc436/AutoTM installation test #153

ngc436/AutoTM installation test

ngc436/AutoTM installation test #153

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.8", "3.9", "3.10"]
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/checkout@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m spacy download en_core_web_sm
- name: set pythonpath
working-directory: src
run: |
echo "PYTHONPATH=." >> $GITHUB_ENV
- name: Run test code
working-directory: src
run: python ../examples/full_pipeline_example.py
- name: Lint with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- run: echo "🍏 This job's status is ${{ job.status }}."