From 88e3c100b20ac2b89747fc4658a860f9c4bb835e Mon Sep 17 00:00:00 2001 From: Xuan Hu Date: Mon, 12 Jun 2023 18:41:36 +0800 Subject: [PATCH 1/2] Show env in CI. --- .github/workflows/ci.yml | 3 +++ .github/workflows/ci.yml.jinja | 3 +++ .github/workflows/package.yml | 1 + .gitlab-ci.yml | 1 + 4 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ede7af87..b53ded7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,7 @@ jobs: with: cache: pip python-version: ${{ matrix.python-version }} + - run: env | sort - run: make dev-lint - run: make lint strategy: @@ -26,6 +27,7 @@ jobs: with: cache: pip python-version: ${{ matrix.python-version }} + - run: env | sort - run: make dev-tests - run: make tests - name: Upload coverage to Codecov @@ -48,6 +50,7 @@ jobs: with: cache: pip python-version: ${{ matrix.python-version }} + - run: env | sort - run: pip install copier - run: copier copy -r HEAD -f . . - run: git diff diff --git a/.github/workflows/ci.yml.jinja b/.github/workflows/ci.yml.jinja index ba39ad22..1eae4abd 100644 --- a/.github/workflows/ci.yml.jinja +++ b/.github/workflows/ci.yml.jinja @@ -9,6 +9,7 @@ jobs: with: cache: pip python-version: {{ '${{ matrix.python-version }}' }} + - run: env | sort - run: make dev-lint - run: make lint strategy: @@ -35,6 +36,7 @@ jobs: with: cache: pip python-version: {{ '${{ matrix.python-version }}' }} + - run: env | sort - run: make dev-tests - run: make tests - name: Upload coverage to Codecov @@ -66,6 +68,7 @@ jobs: with: cache: pip python-version: {{ '${{ matrix.python-version }}' }} + - run: env | sort - run: pip install copier - run: copier copy -r HEAD -f . . - run: git diff diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 75e87f6a..a1e29115 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -8,6 +8,7 @@ jobs: with: cache: pip python-version: 3.x + - run: env | sort - run: make dev-package - run: make build - name: Publish a Python distribution to PyPI diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65cee500..f7cd068f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -66,6 +66,7 @@ pages: - /^v(?P0|[1-9]\d*)\.(?P0|[1-9]\d*)\.(?P0|[1-9]\d*)$/ - main script: + - env | sort - make dev-docs - make docs stage: build_release From 207963957c56cd812a1da2ae7fa99b32eead7b37 Mon Sep 17 00:00:00 2001 From: Xuan Hu Date: Mon, 12 Jun 2023 18:45:17 +0800 Subject: [PATCH 2/2] Fix consistency. --- .gitlab-ci.yml.jinja | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml.jinja b/.gitlab-ci.yml.jinja index 8e3068d1..8f9bc166 100644 --- a/.gitlab-ci.yml.jinja +++ b/.gitlab-ci.yml.jinja @@ -83,6 +83,7 @@ pages: - /^v(?P0|[1-9]\d*)\.(?P0|[1-9]\d*)\.(?P0|[1-9]\d*)$/ - main script: + - env | sort - make dev-docs - make docs stage: build_release