Add files via upload #3931
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: Validations v2 | |
on: | |
pull_request_target: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [10.2] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
repository: 'epiforecasts/covid19-forecast-hub-europe-validations' | |
# - name: Use Node.js ${{ matrix.node-version }} | |
# uses: actions/setup-node@v1 | |
# with: | |
# node-version: ${{ matrix.node-version }} | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' # Version range or exact version of a Python version to use, using SemVer's version range syntax | |
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified | |
# - run: npm install | |
- run: pip3 install -r requirements.txt | |
- run: python3 main.py | |
env: | |
GH_TOKEN: ${{secrets.GITHUB_TOKEN}} |