Skip to content

Refactor v1

Refactor v1 #1162

Workflow file for this run

name: lint
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- name: Checkout github repo
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Setup PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: ${{ matrix.python-version }}
enable-pep582: true
cache: true
# galsim needs this.
- name: Instal FFTW
run: |
sudo apt-get install libfftw3-dev
- name: Install python packages
run: |
pdm install
- name: Run pre-commit checks
run: |
pdm run pre-commit install
pdm run pre-commit run --all-files