From 4ef1f6ba0f346cf1ebc1c28e4542bdf2f7b458d8 Mon Sep 17 00:00:00 2001 From: JulioLoayzaM Date: Thu, 30 May 2024 13:01:43 +0200 Subject: [PATCH] ci: add source before make --- .github/workflows/main.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6c691ba..8d61423 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 @@ -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 @@ -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: @@ -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 @@ -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