Fixed a broken test. #6
Workflow file for this run
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
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 /workspaces/gotoh/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 |