#77 (#113) #23
This file contains hidden or 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: inclusive-tests-preps-toys-main | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test-prep-configs: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - config: '+id=000 cmd=prep args.data=../data/raw/mams/test.xml args.output=../output/mams-agg "prep.langaug=[ ]"' | |
| - config: '+id=001 cmd=prep args.data=../data/raw/twitter/acl-14-short-data/toy.raw args.output=../output/twitter-agg "prep.langaug=[ ]"' | |
| - config: '+id=002 cmd=prep args.data=../data/raw/semeval/toy.2016SB5/ABSA16_Restaurants_Train_SB1_v2.xml args.output=../output/semeval-agg "prep.langaug=[ ]"' | |
| fail-fast: false | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.8' | |
| - name: Install dependencies | |
| run: | | |
| pip install -r requirements.txt | |
| - name: Clean up previous outputs | |
| run: rm -rf output/ | |
| - name: Run prep with Hydra config | |
| run: | | |
| python main.py ${{ matrix.config }} | |
| working-directory: ./src |