Skip to content

Commit

Permalink
ci: add CI for template instantiation (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas authored Feb 21, 2024
1 parent 8dfa20b commit 42a0b88
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Test Template Instance

on:
pull_request:
branches:
- main


jobs:
Creation:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install Dependencies
run: |
pip install copier pre-commit
- name: Create copy
run: |
copier copy \
-d project_name=test \
-d org=gh_actions \
-d full_name=gh_actions \
-d [email protected] \
-d license=BSD \
-d backend=setuptools \
-d typing=strict \
-d coc=our_coc \
project_template instance
- name: linting
run: |
cd instance
pre-commit run --all
- name: project-install
run: pip install .

0 comments on commit 42a0b88

Please sign in to comment.