Skip to content

Test with No VCSes #1875

Test with No VCSes

Test with No VCSes #1875

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
permissions: {}
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
persist-credentials: false
- 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@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7
with:
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
name: no-vcs
# vim:set et sts=2: