Skip to content

Commit

Permalink
Add devcontainer CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
fredyshox committed Aug 10, 2023
1 parent 9c98184 commit 04d1701
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/dev_tools_tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: development tools
on:
push:
branches:
- master
pull_request:

jobs:
devcontainer:
name: test dev container
runs-on: ubuntu-latest
if: github.repository == 'commaai/openpilot'
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Setup Dev Container CLI
run: npm install -g @devcontainers/cli
- name: Build dev container image
run: devcontainer build --workspace-folder .
- name: Run dev container
run: devcontainer up --workspace-folder .
- name: Stop containers
run: docker kill $(docker ps -q)

0 comments on commit 04d1701

Please sign in to comment.