-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT - Bump actions versions (#795)
- Loading branch information
Showing
3 changed files
with
18 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,15 @@ name: Tests | |
|
||
env: | ||
DEFAULT_PYTHON_VERSION: "3.10" | ||
FORCE_COLOR: "1" # Make tools pretty. | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
|
||
# ensuring only one instance is running at a given time | ||
concurrency: | ||
group: ${{ github.ref }} | ||
|
@@ -43,7 +45,7 @@ jobs: | |
miniforge-version: latest | ||
|
||
# This fixes a "DLL not found" issue importing ctypes from the hatch env | ||
- name: Reinstall Python 3.10 on Windows runner | ||
- name: "Reinstall Python 3.10 on Windows runner" | ||
uses: nick-fields/[email protected] | ||
with: | ||
timeout_minutes: 9999 | ||
|
@@ -89,7 +91,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: "Set up env 🐍" | ||
uses: conda-incubator/setup-miniconda@v2 | ||
uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
environment-file: conda-store-server/environment-dev.yaml | ||
miniforge-version: latest | ||
|
@@ -114,7 +116,7 @@ jobs: | |
pytest --video on ../tests/test_playwright.py | ||
- name: "Upload test results 📤" | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
if: ${{ always() }} | ||
with: | ||
name: playwright-tests | ||
|
@@ -142,13 +144,13 @@ jobs: | |
working-directory: conda-store | ||
strategy: | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10"] | ||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
steps: | ||
- name: "Checkout Repository 🛎" | ||
uses: actions/checkout@v4 | ||
|
||
- name: "Set up Python 🐍" | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
|
@@ -209,20 +211,20 @@ jobs: | |
- conda-store | ||
- conda-store-server | ||
steps: | ||
- name: "Checkout Repository" | ||
- name: "Checkout Repository 🛎" | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Docker Buildx | ||
- name: "Set up Docker Buildx" | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Lint Dockerfiles | ||
- name: "Lint Dockerfiles 🔍" | ||
uses: jbergstroem/hadolint-gh-action@v1 | ||
with: | ||
dockerfile: ${{ matrix.docker-image }}/Dockerfile | ||
output_format: tty | ||
error_level: 0 | ||
|
||
- name: Docker Meta | ||
- name: "Docker Meta" | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
|
@@ -231,7 +233,7 @@ jobs: | |
tags: | | ||
type=sha | ||
- name: Build docker | ||
- name: "Build Docker images" | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: "${{ matrix.docker-image }}" | ||
|