Skip to content

First pass at CI configuration. #3

First pass at CI configuration.

First pass at CI configuration. #3

Workflow file for this run

name: Automated Tests
on: ["push"]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code from repo
uses: actions/checkout@v3
- name: Log into GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build devcontainer and run tests
uses: devcontainers/[email protected]
with:
imageName: ghcr.io/cfe-lab/gotoh_devcontainer
cacheFrom: ghcr.io/cfe-lab/gotoh_devcontainer
runCmd: cd ${{ github.workspace }}/ruby && rake test
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
root_dir: ${{ github.workspace }}
files: ${{ github.workspace }}/ruby/coverage/coverage.xml