Skip to content

Commit

Permalink
ci: add source before make
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioLoayzaM committed May 30, 2024
1 parent 5c4e175 commit 4ef1f6b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
path: .venv
key: ${{ runner.os }}-venv
- name: Run the linter
run: make lint-ci
run: |
source .venv/bin/activate
make lint-ci
type-check:
runs-on: ubuntu-22.04
Expand All @@ -60,7 +62,9 @@ jobs:
path: .venv
key: ${{ runner.os }}-venv
- name: Run the type-checker
run: make type-check-ci
run: |
source .venv/bin/activate
make type-check-ci
test:
runs-on: ubuntu-22.04
Expand All @@ -82,6 +86,7 @@ jobs:
- name: Run the test suite and coverage
run: |
sudo apt-get install -y --no-install-recommends pandoc texlive texlive-latex-extra
source .venv/bin/activate
make coverage-ci
make doctest-ci
Expand All @@ -105,6 +110,7 @@ jobs:
- name: Build the docs
run: |
sudo apt-get install -y --no-install-recommends pandoc
source .venv/bin/activate
make docs-ci
upload-docs:
Expand All @@ -128,6 +134,7 @@ jobs:
- name: Build docs for publishing
run: |
sudo apt-get install -y --no-install-recommends pandoc
source .venv/bin/activate
make pages-ci
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
Expand Down Expand Up @@ -170,6 +177,7 @@ jobs:
- name: Build the package
run: |
sudo apt-get install -y --no-install-recommends pandoc texlive texlive-latex-extra
source .venv/bin/activate
make build-ci
- name: Upload build
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 4ef1f6b

Please sign in to comment.