Skip to content

Add tests for dev containers #5

Add tests for dev containers

Add tests for dev containers #5

name: 'Test devcontainers'
on:
pull_request:
push:
branches:
- main
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
- if: runner.os == 'Windows'
name: Set up Docker Buildx
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb #v3.3.0
- name: Build and run dev container task
uses: devcontainers/[email protected]
with:
runCmd: opensafely run run_all