Skip to content

Update verify.yml

Update verify.yml #18

Workflow file for this run

name: verify
on:
push:
branches:
- master
pull_request:
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
- name: Install dependencies
run: pip3 install -U online-judge-verify-helper
- name: Sync gh-pages with origin
run: |
git fetch origin gh-pages:gh-pages
git checkout gh-pages
git reset --hard origin/gh-pages
git checkout master
env:
GH_PAT: ${{ secrets.GH_PAT }}
- name: Run tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_PAT: ${{ secrets.GH_PAT }}
run: oj-verify all