Implement inversion negation #38
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
name: Run tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
PYTHON_VERSION: 3.7 # test on the minimum version supported | |
jobs: | |
run-tests: | |
name: Run negate tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set-up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
architecture: 'x64' | |
- name: Install Python requirements | |
run: pip install -r tests/requirements.txt | |
- name: Run tests without Transformers | |
run: pytest tests | |
- name: Run tests with Transformers | |
run: pytest tests --transformers |