Skip to content

Commit

Permalink
make test build resemble last passing build
Browse files Browse the repository at this point in the history
  • Loading branch information
rcpeene committed Jun 26, 2024
1 parent 10b33ba commit 2302ac7
Showing 1 changed file with 5 additions and 24 deletions.
29 changes: 5 additions & 24 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@

name: build
on:
push:
branches: [ "main", "test_build_env"]
branches: [ "main", "test_build_env" ]
pull_request:
branches: [ "main", "test_build_env"]
branches: [ "main", "test_build_env" ]

workflow_dispatch:

Expand All @@ -19,36 +18,18 @@ jobs:

steps:
- uses: actions/checkout@v3
# with:
# fetch-depth: 0
# ref: main

- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.9"

- name: Getting python version
run: python --version
python-version: 3.9

- name: Upgrading pip
run: pip install --upgrade pip

# - name: Install deps
# run: pip install numpy cython

- name: Installing package
run: pip install -e .

- name: Printing environment
run: pip freeze

- name: Installing packages again (this prevents a weird error)
run: pip install -r requirements.txt

# - name: Printing environment
# run: pip freeze

- name: Installing build dependencies
run: |
pip install markupsafe==2.0.1
Expand All @@ -72,4 +53,4 @@ jobs:
- name: Build Jupyter book
run: |
jupyter-book clean ./docs
jupyter-book build ./docs
jupyter-book build ./docs

0 comments on commit 2302ac7

Please sign in to comment.