Skip to content

Test with No VCSes #1238

Test with No VCSes

Test with No VCSes #1238

Workflow file for this run

name: Test with No VCSes
on:
pull_request:
push:
branches:
- master
schedule:
- cron: '0 7 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Build Docker image
run: docker build -t no-vcs .github/workflows/tools/no-vcs
- name: Run tests
run: |
docker run --rm -v $PWD:/docked -w /docked no-vcs \
tox -e py -- -vv --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
name: no-vcs
# vim:set et sts=2: