The tokenizer model is downloaded in the dockerfile to /tram/data, which #511
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: TRAM Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: TRAM GitHub Action Tests | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Install and update essential dependencies | |
run: | | |
pip install -U pip setuptools | |
pip install tox-gh-actions | |
- name: Run tests | |
run: | | |
tox | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_SECRET }} | |
files: coverage.xml | |
verbose: true |