dummyapi #2
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: dummyapi | |
on: workflow_dispatch | |
jobs: | |
api_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run-tests via docker-compose | |
env: | |
TOKEN: ${{ secrets.TOKEN }} | |
run: | | |
docker-compose up --exit-code-from dummyapi || true | |
- name: Generate Allure report | |
run: | | |
sudo docker-compose run dummyapi /bin/sh -c "allure generate allure-results --clean -o allure-report" | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@4.1.5 | |
with: | |
token: ${{ secrets.CI_TOKEN }} | |
branch: gh-pages | |
folder: allure-report | |
clean: true |