diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..0c2d13f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,35 @@ +name: Main Workflow + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Run issues-translate-action + uses: usthe/issues-translate-action@v2.7 + with: + token: ${{ secrets.GH_TOKEN }} + + - name: Run tests + run: | + python -m unittest discover tests