Skip to content

Commit

Permalink
Update continuous integration checks (#169)
Browse files Browse the repository at this point in the history
* Add GitHub Actions

* Update ci.yml
  • Loading branch information
namurphy authored Jun 26, 2024
1 parent c6d9717 commit bbf3691
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CI

on:
push:
branches:
- src
pull_request:
workflow_dispatch:
schedule:
- cron: 37 7 * * 1

jobs:
test-build:
name: ${{ matrix.name }}
runs-on: ubuntu-latest

strategy:

matrix:
include:

- name: Build website
python: '3.12'
nox_session: build

- name: Perform Nikola checks
python: '3.12'
nox_session: check

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip

- name: Install Nox and uv
run: python -m pip install --progress-bar off --upgrade nox uv

- name: Run Nox session
run: nox -s build

0 comments on commit bbf3691

Please sign in to comment.