name: Mac OS X Full Clean Build with ML env: GTFF_USE_PROMPT_TOOLKIT: false GTFF_USE_ION: false on: push: branches: - "main" - "full-builds" workflow_dispatch: inputs: comments: required: true description: 'Test scenario tags' jobs: macos-conda: name: MacOS-latest, Conda-latest, Python 3.8 runs-on: macos-latest steps: - name: Checkout uses: actions/checkout@v2 with: # Need to fetch more than the last commit so that setuptools-scm can # create the correct version string. If the number of commits since # the last release is greater than this, the version still be wrong. # Increase if necessary. fetch-depth: 100 # The GitHub token is preserved by default but this job doesn't need # to be able to push to GitHub. persist-credentials: false - name: Setup Miniconda uses: conda-incubator/setup-miniconda@v2 with: python-version: '3.8' miniconda-version: 'latest' auto-update-conda: true channels: conda-forge show-channel-urls: true environment-file: conda-environment.yaml activate-environment: testing # Needed for caching use-only-tar-bz2: true - name: Install gensim with conda shell: bash -l {0} run: | conda install gensim=3.8.3 - name: Install dependencies (Bash) shell: bash -l {0} run: | conda info pip install --user --requirement requirements-full.txt - name: List installed packages (Bash) shell: bash -l {0} run: | conda list pip list - name: Run tests (Bash) shell: bash -l {0} run: pytest tests/