Update README.md #71
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: linux-test | |
on: | |
push: | |
pull_request: | |
jobs: | |
pytest: | |
runs-on: [self-hosted, ubuntu] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Docker | |
run: | | |
make docker docker_build_args="--py-3-10-12" docker_tag="ablator-test" | |
- name: Test with pytest CUDA | |
run: | | |
make docker-test test_tag="--test-suite fast" docker_build_args="--py-3-10-12" docker_tag="ablator-test" | |
- name: Test with pytest CPU | |
run: | | |
make docker-test-cpu test_tag="--test-suite fast" docker_build_args="--py-3-10-12" docker_tag="ablator-test" | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./shared/coverage_cpu.xml,./shared/coverage_gpu.xml |