Skip to content

2016 day 25 solution #33

2016 day 25 solution

2016 day 25 solution #33

Workflow file for this run

name: "CI"
on:
push:
branches:
- "main"
pull_request:
types:
- "opened"
- "synchronize"
- "reopened"
branches:
- "main"
#schedule:
#- cron: '00 01 * * *'
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint
run: |
ruff check
test:
strategy:
matrix:
os:
- ubuntu-latest
# TODO multiprocessing has problems here
#- macos-latest
#- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
#- name: Install dependencies
#run: |
#python -m pip install --upgrade pip
#pip install -r requirements.txt
- name: Test all scripts
run: |
python test.py