Skip to content

Commit

Permalink
Update devContainer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mniedermaier authored Jan 31, 2025
1 parent 8dd6e2f commit 0bb3cd0
Showing 1 changed file with 42 additions and 2 deletions.
44 changes: 42 additions & 2 deletions .github/workflows/devContainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- cron: "0 0 * * *"

jobs:
tests:
name: Run devcontainer test
raspberry:
name: Run devcontainer test raspberry
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -38,13 +38,53 @@ jobs:
docker ps
software/build.sh
stm32:
name: Run devcontainer test stm32
runs-on: ubuntu-latest

steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Check out code
uses: actions/checkout@v3
with:
lfs: false
submodules: recursive

- name: "Create environment files"
run: .devcontainer/prepare-env.sh

- name: run tests stm32
uses: devcontainers/ci@v0.3
with:
configFile: .devcontainer/stm32/devcontainer.json
env: .devcontainer/stm32/.env
runCmd: make

virtual:
name: Run devcontainer test virtual
runs-on: ubuntu-latest

steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Check out code
uses: actions/checkout@v3
with:
lfs: false
submodules: recursive

- name: "Create environment files"
run: .devcontainer/prepare-env.sh

- name: run tests for virtual environment
uses: devcontainers/ci@v0.3
with:
Expand Down

0 comments on commit 0bb3cd0

Please sign in to comment.