Skip to content

Merge branch 'main' into effort_filenames #787

Merge branch 'main' into effort_filenames

Merge branch 'main' into effort_filenames #787

Workflow file for this run

name: CI
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v4
- name: Use Python 3.12 🐍
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install requirements πŸ’Ύ
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests πŸ§ͺ
run: pytest
deploy:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Python 3.12 🐍
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install pandoc πŸ’Ύ
run: sudo apt-get install pandoc pandoc-citeproc
- name: Install requirements πŸ’Ύ
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: Run make πŸ”§
run: make
- name: Deploy πŸš€
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: output