Fit random directions #638
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 Unit Tests in Docker | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Node.js 16.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run unit tests in Docker container | |
run: | | |
docker pull skar0/elicitinglatentsentiment:latest | |
docker run -v ${PWD}:/app skar0/elicitinglatentsentiment:latest /bin/sh -c "cd /app && python -m unittest discover tests" |